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
Software Interview Questions
550,693 software interview questions shared by candidates
What is a class?
Given an unfair coin, devise an algorithm to produce a fair coin's output.
Find count of unique characters in a given string
implement strtok
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)
Find the nth element in a linked list in constant time and space.
Save a tree to an array
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?
Given a text file containing the text for Hamlet (/usr/share/file.txt), return the top 5 most frequent words with count.
Viewing 1491 - 1500 interview questions