inorder traverse of a tree without.recursive
Software Interview Questions
748,344 software interview questions shared by candidates
Given an int array, find the sequence of elements that has the largest sum
Write a function that determines if a tree is a BST or not
You have a pile of coins. One of them is counterfeit, and its weight is different from the other coins. All of the other coins weigh the same. You are given a balance. How would you find the counterfeit coin? Now code it up.
Given only a pointer to an arbitrary node in a singly-linked list, how would you delete that node? Are there any cases where this is impossible?
You have 25 horses but only a single 5 lane race track. Only 5 horses can race at any time. You don't have a timer or other measurement tools. How many races do you need to run to find the fastest top 3 horses?
In technical round I was asked one puzzle. 3 tyres will be given whose lifetime is 5km each. For how many kilo-meters you can ride a bike ?
write a logic to print * pattern square matrix with diagonal elements if n=5 print * * * * * * * * * * * * * * * * * * * * * i wrote the code with 5 loops but they asked me to write in 2 loops....!
reverse the words of a string
Code for prime, join query and about college projects
Viewing 1511 - 1520 interview questions