(Phone question) Write an algorithm in your preferred language (C++, Ruby, Java) that takes in a random array and returns the top 3 maximum values.
Development Intern Interview Questions
5,457 development intern interview questions shared by candidates
1. Min stack implementation 2. Connected components analysis
I was asked to implement a cache for storing visited webpages, including some sort of deletion algorithm if the maximum sized was achieved.
Related to solving 2-D matrix problems related to time/space complexity, DFS,BFS
7 Check the errors in the code kind of questions. 15 logical questions (You are A's Father but B's son.... kind of questions)
Array, Linked List, Write a code to add a node in linked list, Complexity, Given a binary tree, print out all of its root
Didn't sign NDA, but I would rather not disclose the coding questions they asked me. I would just say to practice CTCI / Leetcode / etc.
Q. Remove duplicates from an sorted array inplace. He was expecting a linear time solution for this.
Implement a Stack. (of ints; push, pop, peek) Implement a method that returns the smallest integer in the stack. (min) Implement a method that returns the statistical mode of the stack. (mode) O(1) time for all.
Design and implement an LRU Cache
Viewing 421 - 430 interview questions