As we all know that poker cards have four suites: Spades, Hearts, Clubs and Diamonds with figures from 1 to 13.
Now you are given a set of poker cards, you can pick any one card as the first card. And except for the first card, you can only pick the card that has the same suit or figure with the previous one.
Return the max number of cards you can.
For example: [(H, 3), (H, 4), (S, 4), (D, 5), (D, 1)], it returns 3 as follows: (H,3)-->(H,4)-->(S,4)
I applied in-person. I interviewed at Amazon in Jan 2020
Interview
Total five rounds were there.1 technical round online coding platform.
Questions on trees,linked List and dynamic programming.
average level difficulty.Asked some Questions about normal forms and some operating
system questions.Final round was HR round
Interview questions [1]
Question 1
The most difficult question was a list of all possible palindromes in a very large string.
The company came into my college in August. First they gave a coding question round with 3 coding questions. Then there were 4 technical rounds of interview. Every round had 2-3 coding questions.