Given some indeterminate amount of possible values for a coin, count all different ways that those coins could be used to make some specified number n. Return the number of different ways possible.
Software Interview Questions
551,386 software interview questions shared by candidates
1 sys design, 3 lc medium coding questions
Count the 1s in the number
The Max Bubble sort is O(n) at best, O(n^2) at worst, and its memory usage is O(1) . Merge sort is always O(n log n), but its memory usage is O(n). Explain which algorithm you would use to implement a function that takes an array of integers and returns the max integer in the collection, assuming that the length of the array is less than 1000. What if the array length is greater than 1000?
Given a string with open and closed parentheses, check if the string is balanced i.e. if every open bracket has a corresponding closed bracket.
How does ping work?
Given a binary tree, print the nodes level by level
Find the center of graph(vertex, that is connected with every other vertex, but edges are directed to the center of graph).
Data structure for numbers that supports 2 operations: insert and get_median.
Given a dictionary based simple password, create all possible (special character) passwords based on a provided mapping. Input: face Map: {a -> @, 4, A} Output: f@ce, f4ce, fAce
Viewing 3081 - 3090 interview questions