Software Development Interview Questions

36,991 software development interview questions shared by candidates

Design (in Object Oriented manner) a restaurant reservation service. No coding necessary beyond class names and method names and rough description of how they work. Then design the SQL database for this system (table names, columns and foreign keys)
avatar

Software Development Engineer

Interviewed at Amazon

3.5
Mar 29, 2012

Design (in Object Oriented manner) a restaurant reservation service. No coding necessary beyond class names and method names and rough description of how they work. Then design the SQL database for this system (table names, columns and foreign keys)

Asked question: Using an already implemented method Rand5() that generates a random integer between the ranges 1-5 uniformly. Using this method, implement a a new method that returns a random integer in the range 1-7 uniformly, i.e. Rand7(). Basically this is Rejection Sampling Algorithm. See http://leetcode.com/2010/11/rejection-sampling.html
avatar

Software Development Engineer In Test

Interviewed at Amazon

3.5
Aug 29, 2013

Asked question: Using an already implemented method Rand5() that generates a random integer between the ranges 1-5 uniformly. Using this method, implement a a new method that returns a random integer in the range 1-7 uniformly, i.e. Rand7(). Basically this is Rejection Sampling Algorithm. See http://leetcode.com/2010/11/rejection-sampling.html

Viewing 891 - 900 interview questions

Glassdoor has 36,991 interview questions and reports from Software development interviews. Prepare for your interview. Get hired. Love your job.