What is the fast sorting algorithm and why?
Software Interview Questions
550,994 software interview questions shared by candidates
Reverse a string in-place.
Varied behavioral questions. Technical focused on oops concepts(explain 4 pillars of OOP with examples). Was asked to write code to print the largest number in an unsorted integer array of infinite size. Although the position was for C#, they were cool about me coding in java.
if p1 and p2 are two consecutive prime number, in which cases (p1 + p2) / 2 is a prime number.
Given a text file containing the text for Hamlet (/usr/share/file.txt), return the top 5 most frequent words with count.
Define Yourself
What is a class?
Given an unfair coin, devise an algorithm to produce a fair coin's output.
There are 4 people who want to cross a bridge. They each take 1, 2, 5 and 8 minutes. Only 2 people can cross at a time and they take as long as the slowest person. What is the fastest time you can get everyone across? Then I was asked to write the mathematical equation to determine the trade-off point between each of the 2 approaches to solving this.
Ik kreeg een lijst van n integers, vind de top van k integers. Wat is tijd-complexiteit van jouw oplossing? Given a list of n integers, find top k integers. What is time-complexity of your solution?
Viewing 1461 - 1470 interview questions