Developer Interview Questions

640,302 developer interview questions shared by candidates

Given a string of the form: "{Valery,Jason,Peter} was in {good,bad} mood and he went to the {beach, party, library}"; Print out all the permutations of the string. Eg: Valery was in good mood and he went to the beach.
avatar

Senior Software Engineer

Interviewed at Fitbit

4
May 2, 2015

Given a string of the form: "{Valery,Jason,Peter} was in {good,bad} mood and he went to the {beach, party, library}"; Print out all the permutations of the string. Eg: Valery was in good mood and he went to the beach.

This test involved writing a zoo simulator whereby a “zoo” contains a certain number of different animals whose health decreases by a random percentage every 20 seconds. The animals can be fed, which increases their health by a random percentage, based on various other conditions. It’s a fairly involved exercise, and not exactly quick to complete.
avatar

Developer

Interviewed at Dyball Associates

Oct 26, 2019

This test involved writing a zoo simulator whereby a “zoo” contains a certain number of different animals whose health decreases by a random percentage every 20 seconds. The animals can be fed, which increases their health by a random percentage, based on various other conditions. It’s a fairly involved exercise, and not exactly quick to complete.

Given a 7-column keyboard sorted in alphabetic order. There is a cursor on the keyboard, and you can move it 1 unit to left/right/up/down. The input is a word, you need to design an algorithm to give movements of cursor to type this word.
avatar

Software Engineer

Interviewed at Niantic

3.7
Oct 9, 2017

Given a 7-column keyboard sorted in alphabetic order. There is a cursor on the keyboard, and you can move it 1 unit to left/right/up/down. The input is a word, you need to design an algorithm to give movements of cursor to type this word.

Viewing 981 - 990 interview questions

Glassdoor has 640,302 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.