implement strtok
Desarrollador Elearning Interview Questions
711,668 desarrollador elearning interview questions shared by candidates
Imagine you have a string and you want to return False if there are repeat characters in this string, what are the fastest and most space efficient ways to do this. (I clarified and he only wanted to return False if there was a repeat letter or number)
Save a tree to an array
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.
Probability of a knight making a valid move on NxN matrix in m steps.
Given a triangle, determine if its a scalene, equilateral, isosceles or neither... required knowledge of triangle properties, I learnt these properties about two decades ago so ofcourse I was fuzzy on the details, completely unexpected
Find the nth element in a linked list in constant time and space.
What is a class?
Given a text file containing the text for Hamlet (/usr/share/file.txt), return the top 5 most frequent words with count.
Design a data structure where insertion, deletion, data access and get random element are all done in O(1), i.e., constant time. (Without using STL or Hash tables)
Viewing 1581 - 1590 interview questions