Starting my job search for SDE position in December 2024 , here is a quick summary of the month where I eventually failed in simple interviews, taking them as learning. Will keep grinding until then -> this post might help others.
Discussion started with Projects I have worked on
Self review -
Round 1 -
https://leetcode.com/problems/find-all-anagrams-in-a-string/description/
Round 2 -
Question: - Given a String array with cities name ,
return a collection with city name and the count of repeated characters,
the city names must be in sorted order.
Input:- [”Mumbai”, ”Chennai”, “Bangalore”]
Output :- {“Bangalore” : {’a’ : 2} , “Chennai” : {’n’:2}, ”Mumbai” : {’m’:2}} }—- - - - - Round Ended in 30 minutes because I was not good with SQL and upcoming questions were with Databases - - - - - - —
Self review :
Round 1 -
Round 2 -
LLD round
My Intution based on the other interview experiences read from leetcode, I was in a myth that java + springboot + LLD will be asked , but it was totally different as the interviewer straightly asked me to design a cache
we have to do low level design for a Cache System. Cache that we will design will have to support following operations:
PUT: This will allow user to put a value against a key in the cache
GET: this will allow user to get the previously saved value using key
Eviction: Cache should also support removal of some key in case cache is full and we try to add new key value
Expectations
Code should be functionally correct
Code should be modular and readable. Clean and professional code
Code should be extensible and scalable. Means it should be able to accomodate new requirements with minimal changes
code should have good OOP design
It was my first LLD round but I was too much nervous and also less experience with caches which eventually sucked in my interview. I was not able come up with a good design as I have not worked or studies about design of caches. We had some discussions around my approach which was using a Map<Key,Value> , finally I got a rejection email in 2 days.
Round 1 -
Introductory Round
That marks the end of the year , Only thing which I can think of is I am not deserving it right now. This disappointment comes from the hope. So lets try not to hope anything and keep working on it
Bye 2024 , lets see how your succesor does the magic...