Sort an array of integers with only 1s and 0s. Then sort an array of integers with numbers between 0 and 99.
Software Development Interview Questions
36,967 software development interview questions shared by candidates
Implement a reverse hash table
Given the upper left and lower right coordinates of two rectangles, determine if they overlap
Give a 2D rectangular array represented as a 1D arrary in row-major form, rotate the array by 90 degrees
Write the code for the preorder traversal of a tree.
You have a list of sentences/words. How to find out the sub list that consists of a specific prefix? Ex: input: prefix="he", list = ["hello", "world", "hello world", "hey dude", "galaxy"....] output: ["hello", "hello world", "hey dude"]
Determine the first non-repeated character in a word. For example, in abbcaf it should return c. Do this in O(n) time with O(1) space.
Given an array, put all repeated characters together.
generating prime number
Viewing 171 - 180 interview questions