Can't remember the question exactly, but my answer involved using a dictionary and updating the value when needed.
Software Developer Intern Interview Questions
2,880 software developer intern interview questions shared by candidates
Write a function of multiplication table
Print out a time from a string.
Longest Increasing Path in a Matrix
Dynamic Programming Question from Leetcode
The questions mostly dealt with basic data structures and algorithms. Though the questions themselves were not difficult, the interviewer expected me to know quite a few intricate details. Looks like they expected perfect solutions as opposed to just solutions.
First interview: 1. Serialize BST Second interview: 1. eliminate duplicate element in an array (maybe using hash table and explain it) 2. design a uniform random function for countries name according to their population such as country = {A, B} and population = { 10K, 20K}, the random function should generate either A or B and the number of B should be two times larger than the number of A
Write your own Big Integer API, Design it
design a google gmail system
Signed an NDA about the questions, but it was similar to the problems that you find at websites dedicated to solving puzzles. It's from average to difficult problems.
Viewing 1671 - 1680 interview questions