1. delete one block from a single linked list(can only use one pointer) 2. give a number of x, check if there are two elements in an array whose sum is equal to x, and improve your code
Software Interview Questions
551,343 software interview questions shared by candidates
Why would one use pass by reference instead of pass by value?
Suppose you have an array of unique natural numbers ranging from 1-100. Suppose we add another number ranging 1-100 into the array. How do we find this added number?
The question was to find all taxi numbers from 0 - 10^6. Taxi number is a number which can be written as the sum of two squared number, and can be written as two different representations: Taxi number = a^2 + b^2 = c^2 + d^2
Given a set of cities, each with a given population, select randomly a city with a probability that is proportional to the population.
Describe what happens when a user clicks a link in a browser.
Design a data structure for LRU cache
Implement a function boolean matches(String text, String pattern) to find match pattern in the string, pattern can be seperated but the order of letters in pattern cannot be changed.
Add a new range with a given list of ranges by combining the new range instead of overlapping. For example: 1-4, 6-7, 10-12; add 9-11 Should return 1-4, 6-7, 9-12
Viewing 2661 - 2670 interview questions