Skip to content

RiyazKhanPathan/Solutions

Repository files navigation

It consists of solution to below problems

  1. Find nearest prime number
  2. Prime Number in given range
  3. Finding the factorial of a number using dynamic programming
  4. Nth Day from given date(eg: The day after 12 days from given date)
  5. Grouping anagrams
  6. versionDecode '#'
  7. matrixRotation - Rotate a given matrix in clock-wise direction
  8. steps - You have n bricks and you want to build a staircase with these bricks. The staircase consists of k rows where the ith row has exactly i bricks. The last row of the staircase may be incomplete. Given the integer n, return the number of complete rows of the staircase you will build.