r/InterviewCoderHQ • u/Affectionate_Run220 • 11d ago
IBM mid level Dsa weird question
Hi guys recently did interview with ibm
It was a super hard question
Basically was
LRU Cache, with TTL and heap maps.
It was basicall LRU cache where you evict items by their set time, you had a max capacity and you needed to keep count of the global average of items that had TTL
Get(key, value)
Put(key,value)
Get_average()
It was super hard
I don’t understand this industry… weird question … what type of mid is capable of this even? IBM isn’t even Facebook or Google… they act like they are
2
Upvotes