DEV Community 👩‍💻👨‍💻

Saurabh Kumar
Saurabh Kumar

Posted on

Maths for Coders : Chapter 1

Starting a thread where I will be adding some common math problems expected from developers in interview rounds or aptitude tests.

These will always come in handy - so I have added the cleanest version of some common functions

  • find all prime factors
  • check if a Number is odd-even
  • find LCM of n elements
  • find HCF of n elements

Top comments (0)

🌚 Life is too short to browse without dark mode