Protocol Interview Questions

164 protocol interview questions shared by candidates

Flashlight dropping question - given 2 "indestructible" flashlights, determine how high you can drop them from without breaking them. Test is in a 100 story office building, drop out the window; find highest story that you can drop without breaking the flashlight. What is the algorithm?
Jul 22, 2016

Flashlight dropping question - given 2 "indestructible" flashlights, determine how high you can drop them from without breaking them. Test is in a 100 story office building, drop out the window; find highest story that you can drop without breaking the flashlight. What is the algorithm?

We have a deck of cards in hand, where we take the top card off the deck, place it onto a table, then place the next top card onto the bottom of the deck. Repeat this process until deck in hand is empty, then take the deck from the table and place into hand. This is called one round. How many rounds does it take for the deck to return to its original order? Design a class in C++ to model and solve this problem.
avatar

Cellular Protocol Development Engineer

Interviewed at Apple

4.1
May 20, 2022

We have a deck of cards in hand, where we take the top card off the deck, place it onto a table, then place the next top card onto the bottom of the deck. Repeat this process until deck in hand is empty, then take the deck from the table and place into hand. This is called one round. How many rounds does it take for the deck to return to its original order? Design a class in C++ to model and solve this problem.

Viewing 41 - 50 interview questions

Glassdoor has 164 interview questions and reports from Protocol interviews. Prepare for your interview. Get hired. Love your job.