Close Menu
geekfence.comgeekfence.com
    What's Hot

    Kubernetes in the Age of AI – O’Reilly

    June 18, 2026

    The Download: a new hunt for dark matter and Kenya’s case for going solar

    June 18, 2026

    AI-assisted data development with Kiro and SageMaker Unified Studio

    June 18, 2026
    Facebook X (Twitter) Instagram
    • About Us
    • Contact Us
    Facebook Instagram
    geekfence.comgeekfence.com
    • Home
    • UK Tech News
    • AI
    • Big Data
    • Cyber Security
      • Cloud Computing
      • iOS Development
    • IoT
    • Mobile
    • Software
      • Software Development
      • Software Engineering
    • Technology
      • Green Technology
      • Nanotechnology
    • Telecom
    geekfence.comgeekfence.com
    Home»Software Engineering»What I Learned Solving A Leetcode Problem A Day For 45 Straight Days | by Joseph Maurer | Geek Culture
    Software Engineering

    What I Learned Solving A Leetcode Problem A Day For 45 Straight Days | by Joseph Maurer | Geek Culture

    AdminBy AdminOctober 29, 2025No Comments3 Mins Read2 Views
    Facebook Twitter Pinterest LinkedIn Telegram Tumblr Email
    What I Learned Solving A Leetcode Problem A Day For 45 Straight Days | by Joseph Maurer | Geek Culture
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Joseph Maurer

    Press enter or click to view image in full size

    Being an engineer there are so many problems that I have to solve every day that you get into the flow pretty easily. But at work you are mostly solving the same type of problems on a daily basis that you forget that there are other exciting types of problems out there that require you to think differently. A great starting place is Leetcode or any other daily coding puzzle website. Let’s go over how to get started and best practices!

    The Fundamentals of Solving Coding Puzzles

    I think Leetcode does a great job of having daily puzzles that come out in their “Monthly Challenges”. Each month the problems start easy or medium, and progressively get harder. You have 24 hours to submit your solution for credit, after that you can still do the problem just not for any Leetcode Coins.

    Step one is to read the problem and understand the example solutions that they give you. Work through the examples on paper if you have to, break down each problem into a series of steps to work toward the solution. Start thinking about potential edge cases that aren’t considered that your design needs to take into account.

    Step two is to write some abbreviated pseudo code. I tend to think about this step like the high-level whiteboard coding interview. Run through the algorithm you are going to use to solve the problem. Write down any data structures that you might need and contemplate the time and space complexity. This is the easiest step to fix, but when I get stuck this is the work I refer back to to help get me back on track.

    Step three is to code your test cases. Now that you have a good idea of what you need to do, write some additional tests and write your test cases in code if you are coding outside of their editor. Leetcode won’t tell you what tests failed outside of the ones they give you (maybe they do if you have premium? Not sure tbh)

    Pro tip: Code in your editor. Not in the browser.

    Step four is to code and iterate on your design. Just because it passes all the tests doesn’t mean it’s perfect. Think of potential optimizations or ways to make your code more flexible.

    Step five is to look at what other people did and see if there is anything you can learn from their approach to the problem. There are often multiple solutions so don’t be surprised if you see something slightly different.

    Consistency is Key

    This might not be surprising, but the more problems you solve the better you get. That’s just how it is. Leetcode does a good job of giving you only the information you need to solve a problem and the more of these types of problems you do, the more you begin to get comfortable with understanding the prompt and planning your approach. The hope is that by doing these exercises often you will continue to grow in your programming skills so that when you have to approach a different type of problem at work, you can draw on any number of examples.

    Press enter or click to view image in full size

    Here’s the list of every Leetcode problem I solved



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Implementing Zero Trust in Operational Technology: A Practical Case Study

    June 17, 2026

    Preparing for Q-Day – Software Engineering Daily

    June 16, 2026

    The SEI CERT Coding Standard for Fortran

    June 12, 2026

    Jure Leskovec on Relational Graph and Foundational Models – Software Engineering Radio

    June 11, 2026

    SED News: Apple’s AI Problem, The Real Business Model of AI, and Token Cost Reckoning

    June 10, 2026

    Managing the Complexities of AI Adoption

    June 6, 2026
    Top Posts

    Understanding U-Net Architecture in Deep Learning

    November 25, 202555 Views

    Hard-braking events as indicators of road segment crash risk

    January 14, 202630 Views

    Redefining AI efficiency with extreme compression

    March 25, 202627 Views
    Don't Miss

    Kubernetes in the Age of AI – O’Reilly

    June 18, 2026

    When Kubernetes first came onto the scene, it was a major turning point, a revision…

    The Download: a new hunt for dark matter and Kenya’s case for going solar

    June 18, 2026

    AI-assisted data development with Kiro and SageMaker Unified Studio

    June 18, 2026

    Glucose Tracking for Children Is Moving Into Apps and Smart Devices

    June 18, 2026
    Stay In Touch
    • Facebook
    • Instagram
    About Us

    At GeekFence, we are a team of tech-enthusiasts, industry watchers and content creators who believe that technology isn’t just about gadgets—it’s about how innovation transforms our lives, work and society. We’ve come together to build a place where readers, thinkers and industry insiders can converge to explore what’s next in tech.

    Our Picks

    Kubernetes in the Age of AI – O’Reilly

    June 18, 2026

    The Download: a new hunt for dark matter and Kenya’s case for going solar

    June 18, 2026

    Subscribe to Updates

    Please enable JavaScript in your browser to complete this form.
    Loading
    • About Us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • Terms and Conditions
    © 2026 Geekfence.All Rigt Reserved.

    Type above and press Enter to search. Press Esc to cancel.