You have two intersecting linked lists. Describe a function that returns a pointer to the node where they intersect.
Software Development Interview Questions
37,286 software development interview questions shared by candidates
Connect Four is a game where two players take turns dropping their color discs into a vertically suspended grid. The game ends when a player adds a disc to the playing grid that connects four discs of their color. The connected discs can be in a horizontal, vertical or diagonal line. Write a function to be called after every turn that returns true if the game is over (and false otherwise).
// // Write a function that takes a string and returns its length without using built in properties (such as .length or .size()). //
First question: for a random-ordered bucket of numbers 1 through 3000 with one number missing, how would you detect which number is missing?
Check if a string is a pallindrome Find the longest distance between any two nodes in a binary tree.
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.
Given an array of n unsorted ints, with the condition that each number is at most k positions away from its final sorted position, give an efficient sorting algorithm.
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?
Viewing 271 - 280 interview questions