Sort the first 100 numbers from a incoming input stream of milions of numbers.
Development Interview Questions
137,277 development interview questions shared by candidates
Given an array of integers and another integer X - create an algorithm to determine if the sum of any two integers in the array would result in x
Given an array of sorted characters and a target character, find the closest character from array.
Numerical Assesment: Bob has a glass of water that holds 5 fluid ounces, it is 3/4 full, he empties half of the glass, then empties a further 1/8th, before adding 100%. what is the weight of water remaining STAR interview: Give an example of a time you received critical feedback on your work.
Largest palindromic substring in the given string. Nearest k points to origin in a given set of n co-ordinates given n>=k
Given a singly linked list, find the kth element from the back and delete it.
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive) of the key if the key exists in the cache, otherwise return -1. set(key, value) - Set or insert the value if the key is not already present. When the cache reached its capacity, it should invalidate the least recently used item before inserting a new item.
Convert a sorted binary array of int to balanced BST.
Given a parking lot of fixed size, made up of a number of rows of spaces, and different vehicle sizes (e.g. car = 1 spot, bike = 1/2 spot, van = 2 spots, bus = 4 spots), develop an algorithm to determine the optimal place to park for any entering vehicle.
Did you ever go against your boss to do something right?
Viewing 801 - 810 interview questions