Imagine you are an Uber driver who begins in the middle spot of an n by n matrix. Write a code that allows you to pick up the most riders in your immediate vicinity (e.g. spots directly adjacent to your location) until all surrounding spots are 0. You can only move up, right, left or down. Example: [0, 5, 3], [2, 6, 9], [0, 1, 0]
Internship Interview Questions
104,791 internship interview questions shared by candidates
will you do intern for 3 months with securing your original certificates?
what is bankers algorithm
past experience in building design
A frog is trying to get from its lotus pad to the the last lotus pad. Each lotus pad has a number and that is how far the frog can jump from it. Integers on these pads are greater than or equal to 0. Calculate the minimum number of jumps it takes for a frog to reach the end. You are given a vector of integers that represent the lily pads.
Implement a deque using three stacks
Talk about a project that you are proud of
Linked List and string manipulation
Why do you want to work at this company?
Design a system that does X.
Viewing 551 - 560 interview questions