Reversal of letters in each word of a sentence in the most efficient way
Software Development Interview Questions
37,008 software development interview questions shared by candidates
Given a linked list with cycle, find the cycle.
1) Implement atoi 2) correct bug in the code that deletes head from linked list 3) Given string of digits like "72388" and int n, delete n characters from the sting such the resulting string contains minimal number representation, you must preserve relative position of digits. Example: if st="72388" and n=2, the answer is 238.
explain virtual function call mechanism at memory level
Given a string (understood to be a sentence), reverse the order of the words. "Hello world" becomes "world Hello"
find common ancestor in binary tree
Find exist in maze or prove its non existence.
Phone interview question: In C, why is it considered bad form for a function to return a pointer to a stack-allocated variable? What happens if you do it anyway?
- Given an array of integers (of any value, from MIN_INT to MAX_INT), how would you find the consecutive integers with the largest sum, and return their sum?
given value is 9876. print nine thousand eight hunder seventy six
Viewing 941 - 950 interview questions