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
Developer Database Oracle Interview Questions
711,062 developer database oracle 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
Implement the MyStack. (A lot of questions about multi-threading) @protocol Stack -(void)pushObject:(nonnull id)obj; -(nonnull id)popObjext; @property(nonatomic,assign)NSInteger count; @end @interface MyStack : NSObject <Stack> @end @implementation MyStack @end
Given a text file containing the text for Hamlet (/usr/share/file.txt), return the top 5 most frequent words with count.
Viewing 1581 - 1590 interview questions