- 2of 2 votes
Evaluate the value of an expression given in Reverse Polish notation
- 4of 4 votes
This question was asked in the Technical Design round.
How would you design a system to provide the top trending topcis in the last 5m/1hour/24hours
The most trending topic should appear first
A topic is said to be trending if it is shared the most. We are talking about a typical multi user environment (something like twitter, facebook).
- 1of 1 vote
This question was asked in the first coding round on-site.
Give two sorted lists List<Integer> a and List<Integer> b.
the Union of these two lists -> the union list should also be sorted
the Intersection of these two lists -> Intersection list should also be sorted.
- 1of 1 vote
Those who've attended on-site interview with LinkedIn might know that there are 2 rounds of coding interviews. This question was asked in my 2nd round of coding interview,
Given two valid dictionary words of same length, write a function which returns the minimum number of steps to go from the first to the second word.
You can change only one character at a time. Also, the word formed at every step should be a valid dictionary word.
Eg: Provide minimum steps to go from 'cat' to 'dog'
cat -> bat -> bet -> bot -> bog -> dog