The second question is that there are 8 buttons, 7 of them are some, one is a bit little heavier, and you have a balance, how could find the heavier one, you can just use the balance twice.
Desenvolvedor Interview Questions
102,610 desenvolvedor interview questions shared by candidates
You have 4 aces and a king in a set of cards, what's the probability of get kind before all aces.
Given a text file containing the text for Hamlet (/usr/share/file.txt), return the top 5 most frequent words with count.
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.
How would you test if a binary tree were symmetrical and balanced.
The 2-minutes part is a bit unexpected, I am not a native language speaker, I read a bit slow, so I can only finish about 60% percent of the questions.
Within 2-3 hours write a program that reads words from a large file, counts how many times an individual word occurs and output them in the order of decreasing number of occurrences. The language doesn't matter, just negotiate the programming environment you prefer in advance.
Choose any programming language of your choose and write a for loop that counts backwards from 10.
Given a sequence consisting of letters and numbers, re-arrange the sequence so that the numbers come together first, while maintaining their initial order in the sequence (not allowed to use additional memory) e.g. Input : 12gh45fd3, Output : 12453ghfd
Define Yourself
Viewing 181 - 190 interview questions