InterviewBit Problems   LRU Cache : Unsolved


About the LRU Cache : Unsolved category (1)
Same code AC on leetcode but runtime error over here. THanks for wasting my time interviewbit (1)
Can someone check why this code is giving TLE? (2)
Do not use C++ deque (1)
Why error for 7 2 G 2 S 2 6 G 1 S 1 5 S 1 2 G 1 G 2 input? (1)
Python2 code works for test input but not for submit (1)
Python cannot import queue(but wiorks in input) (1)
Runtime error for test case 1 1 G 5 (1)
'list' does not name a type why is it showing this? (2)
Missing requirement. Bad code design (1)
I used a Hash and also Heap to solve it, wrote almost perfect code, and they disqualified me right away (1)
I used deque to solve this problem. But, one of my testcase is failed. Can anyone detect where i am wrong? (2)
Non Efficient Editorial Solution (1)
No need to use a list. Set + Map is enough (5)
List clearing causing problems (1)
Why you need 'include <list>'? (1)
Fastest and easiest soln (1)
Hint if you are stuck (1)
U can use queue and map instead of list (4)
This gives runtime error (1)
Expected output wrong for i/p 7 2 G 2 S 2 6 G 1 S 1 5 S 1 2 G 1 G 2 given o/p -1 -1 2 6 correct o/p should be -1 -1 2 -1 (2)
Set method is incorrectly defined in the question (1)
The first input of set func is not getting removed even if it is the LRU..instead the next LRU is getting removed (1)
Wrong test case in submssion (2)
Gives wrong answer while submitting but correct when using custom test case (2)
I'm getting a key error pls help! (1)
Some problem with test (3)
Error: 59 7 s 2 1 s 1 10 s 8 13 g 12 s 2 8 g 11 g 7 s 14 7 s 12 9 s 7 10 g 11 s 9 3 s 14 15 g 15 g 9 s 4 13 g 3 s 13 7 g 2 s 5 9 g 6 g 13 s 4 5 s 3 2 s 4 12 g 13 g 7 s 9 7 g 3 g 6 g 2 s 8 4 s 8 9 s 1 4 s 2 9 s 8 8 g 13 g 3 g (2)
Giving correct answer when custom inputting but runtime error while submission for same testcase (2)
Getting right o/p as custom test but not on sublission (2)