Softwareentwickler 2 Interview Questions

512,728 softwareentwickler 2 interview questions shared by candidates

You have one billion numbers, implement getRandom() which returns a random number from them. Constaints: 1. No duplicate returning value. 2. getRandom() will at most be invoked 100 million times. Then optimize for space.
avatar

Software Engineer

Interviewed at Tripadvisor

3.5
Jan 11, 2010

You have one billion numbers, implement getRandom() which returns a random number from them. Constaints: 1. No duplicate returning value. 2. getRandom() will at most be invoked 100 million times. Then optimize for space.

The hardest problem posed was the C# function I had to write. Write a function that accepts a character parameter such as "8" and then returns its digit value which would be 8 in this case. You cannot use any helper functions, casting or conversion functions. int ParseCharToInt(char c)
avatar

Software Engineer

Interviewed at Cornerstone OnDemand

3.2
Jan 25, 2013

The hardest problem posed was the C# function I had to write. Write a function that accepts a character parameter such as "8" and then returns its digit value which would be 8 in this case. You cannot use any helper functions, casting or conversion functions. int ParseCharToInt(char c)

Viewing 1171 - 1180 interview questions

Glassdoor has 512,728 interview questions and reports from Softwareentwickler 2 interviews. Prepare for your interview. Get hired. Love your job.