You have 16 race horses and a racetrack which only fits 4 horses at one time. Find the top 4 horses in the fewest number of races.
Development Engineer Interview Questions
37,122 development engineer interview questions shared by candidates
sort an array N consists of four numbers, each number can be repeated k times, where k < n. Example: sort 1111144422223 to 1111122223444. Try to be as efficient as you can, not just O(n^2)
You have two intersecting linked lists. Describe a function that returns a pointer to the node where they intersect.
How would you sort an array if you had infinite RAM? Infinite memory?
Merge 2 sorted arrays A and B Result should end up in B, which has available space for all items Utilize the space in B, not using temporary arrays Result in sorted array in B A { 2, 5, 8, 12, 15} B { 3, 5, 7, 9, , , , , , }
The challenge was comprised of two tasks; one code challenge and one puzzle.
On ado.net and asp.net they interviewed and programs
Find the intersection of two linked lists. Follow up: if the linked lists are doubly-linked lists.
If you have eight objects that all weigh the same except for one (which is heavier) and a two-sided scale, what is the minimal number of times you can use the scale to determine the odd item out?
What happens when you type www.google.com in your browser?
Viewing 271 - 280 interview questions