Developer intern interview questions shared by candidates
One of the software engineers asked me the question about the colored chameleons bonking into each other question. Basically, there are 15 red, 17 green, and 19 blue chameleons on a desert island. Whenever two chameleons of different colors collide, they both become chameleons of the third color. Can it ever be that all the chameleons on the island are the same color?
Give me 5 different ways of finding the median (middle element) of a linked list. For the sake of simplicity, assume the list has odd number of ints. Also mention the runtime for each. Follow up: What's the fastest way you could find the median? What is the runtime? Oh.. and yes, code your answer(s) in any language of your preference.
See Interview Questions for Similar Jobs
- Pharmaceutical Sales
- Medical Assistant
- Dental Assistant
- Graphic Designer
- Registered Nurse
- Sales Associate
- Security Guard