Developer Interview Questions

269,122 developer interview questions shared by candidates

If you were a hostess at a restaurant, how would you implement a data structure to organize the reservations given x number of people per table, y number of tables, reservation time intervals of 30 minutes from 6pm-11pm, and time durations of parties at a table being one hour?
avatar

Software Developer Engineer Intern

Interviewed at Audible

3.5
Feb 7, 2019

If you were a hostess at a restaurant, how would you implement a data structure to organize the reservations given x number of people per table, y number of tables, reservation time intervals of 30 minutes from 6pm-11pm, and time durations of parties at a table being one hour?

Which one of the following is true by default of a Service declared in your manifest? A. It runs in the UI thread. B. It comes with an associated Thread for background execution. C. It’s automatically initialized when you start your app. D. You can only configure it to communicate with the process in which it was started. You want your messaging app to appear as an option in the intent chooser when a user shares content in another application. To do this, you MUST do which of the following? A. Create an IntentService in your Application object to listen to the SENT_MESSAGE intent. B. Register a broadcast receiver in your manifest to receive BROADCAST_SMS. C. Register a ContentObserver to listen to writes to Telephony.Sms.Inbox. D. Register an intent filter for ACTION_SEND in your manifest.
avatar

Android Developer

Interviewed at Meta

3.5
May 1, 2015

Which one of the following is true by default of a Service declared in your manifest? A. It runs in the UI thread. B. It comes with an associated Thread for background execution. C. It’s automatically initialized when you start your app. D. You can only configure it to communicate with the process in which it was started. You want your messaging app to appear as an option in the intent chooser when a user shares content in another application. To do this, you MUST do which of the following? A. Create an IntentService in your Application object to listen to the SENT_MESSAGE intent. B. Register a broadcast receiver in your manifest to receive BROADCAST_SMS. C. Register a ContentObserver to listen to writes to Telephony.Sms.Inbox. D. Register an intent filter for ACTION_SEND in your manifest.

"You are given an array of integers where every integer occurs an even number of times, except one integer that appears an odd number of times. Return the odd occurring integer. Write functioning code and read it to me when you're done."
avatar

Software Developer

Interviewed at Amazon

3.5
Oct 22, 2011

"You are given an array of integers where every integer occurs an even number of times, except one integer that appears an odd number of times. Return the odd occurring integer. Write functioning code and read it to me when you're done."

Viewing 691 - 700 interview questions

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