×
Home Discussions Write at Opengenus IQ
×
  • DSA Cheatsheet
  • About
  • One Liner
  • RANDOM
  • HOME
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
Shivani Rajput

Shivani Rajput

Student at School of Computer and Systems Sciences (SC&SS), Jawaharlal Nehru University (JNU), Delhi

New Delhi, India •
2 posts •
Algorithms

Algorithm to find the maximum power of N that divides M factorial (M!)

We are given two numbers M and N. Our aim is to find the highest power of N that divides Factorial of M (M!). First we have discussed about the Brute Force approach and then we will be discussing this problem using Legendre’s formula.

Shivani Rajput Shivani Rajput
Software Engineering

Vector::front() in C++ STL

We have covered front() function of vector container in C++ STL in depth along with differences between front(), begin(), back() and end() Functions.

Shivani Rajput Shivani Rajput
OpenGenus IQ © 2026 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter