Given 2 strings find the common words along with the time and space complexity. How would you optimize the algorithm
Software Interview Questions
551,361 software interview questions shared by candidates
In a collection of strings, output the string that occurs most often.
There was no unexpected or difficult Question. 1. Find the first non repetitive character in a character stream. 2. Check for prime number and Elevator system design. 3. Agent bidding system design 4. Find for subtree within a larger tree.
Write a function to remove all redundant characters in a given string.
Divide without the / operator.
Technical Question: Given the following list of integers, how would you sort it the most efficiently and weed out duplicates at the same time?
A web service is used by many teams. How do you release a new version ? Sending emails or reminders to a mailing list of current users does not guarantee a full response, what do you do?
Remove duplicates from a linked list. O(n) time.
One of interviewers gave me a piece of code where 'while' loop incorporated several embedded 'for' loops and several variables was initialized in one of the loops, and asked me to describe what this code doing.
How will you make this code readable (given a piece of code)
Viewing 2721 - 2730 interview questions