Project Euler 26: Fun With Math and Algorithms!

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • Algorithm Monday is all about the fundamentals! Good old fashioned loops, conditionals, and math, solve this really fun Project Euler problem 26. You should have a good chance of doing this one on your own, but with a little math theory it gets faster and makes a lot more sense!. Hit subscribe and make sure to not miss an algorithm Monday!
    Code: github.com/robertbunch/python...
    Why Euler Intro Video: • You've learned Python....
    0:00 - Intro
    0:29 - Problem breakdown
    2:36 - How to accomplish?
    4:12 - Pseudocode
    5:48 - Patterns to optimize and make it make sense!
    9:01 - Three decimal possibilities
    12:34 - Code! Using the decimal module
    14:04 - Code solution
    20:00 - Optimize!
  • Věda a technologie

Komentáře • 4

  • @ahmad-murery
    @ahmad-murery Před 2 měsíci +1

    This was like a back to school session to me, which brought back some good memories.
    Once again you didn't make use of the end_time variable 😁
    Thanks Rob!

    • @robertbunch-dev
      @robertbunch-dev  Před 2 měsíci +1

      Rofl... I need to just delete that variable :)
      What a fun memory. 😁 It is more dense than the average YT viewer will be in the mood for, but it's really fun and very powerful stuff.

    • @ahmad-murery
      @ahmad-murery Před 2 měsíci +1

      @@robertbunch-dev Math makes my brain work again after some times on idle state.
      Thanks once again and looking forward for the next video.👍

  • @mdnahidseo
    @mdnahidseo Před 2 měsíci

    Hello sir Are you looking for a Professional youtube thumbnail designer and video SEO expert?