Category: c / c++
Excel Column to Number Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A - 1 B - 2 C - …
Given an integer n, return the number of trailing zeroes in Factorial N! Your solution should be in logarithmic time complexity. Naive/Bruteforce Solution It is easy to get the …
I came across this simple question: A entry level math question for kids, A, B, C and D are 1-digit number from 0 to 9, find all possibilities for …
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that …
The puzzle is to generate the first few numRows rows of Pascal’s Triangle. Do you need to keep each row in separate variables (row vector)? Apparently no. The trick …