InterviewBit Problems   Seats : Solved


About the Seats : Solved category (1)
Problem Statement can be more clearer (1)
Doesn't match with the expected output (1)
JAVA Easy soln refer algo gods youtube channel for logic (https://www.youtube.com/watch?v=SK2ypa7poKg) (1)
No median calculation O(n) time O(1) space complexity with explanation (2)
Codeforces Best Solution using 2 traversals (1)
Walk with code solution. easy C++ O(n) solution (1)
My well-commented code and surely easy to understand. Happy Coding (2)
O(n),O(n) with median,AC soln (2)
Why does Weighted Average (of all the indices having x) fail here? (1)
Easy solution in O(n) (3)
Here everyone is discussing about logic.i hope this solution will solve your doubts (1)
Use median approach (1)
Cpp code explained with comments (1)
Why should aggregating around median should work Can someone prove it? (3)
Solution failing for Large Test Cases (1)
Easy intuitive C++ sol (1)
Why did we subtract L-I? (1)
Simple o(n) solution (3)
Esay to understand simple cpp solution (1)
Can be solved using prefix sum array (1)
Why there is Segmentation Fault in Python? (4)
O(n) Python 2 Solution (1)
Why do we use median, I thought of using mean, is using mean wrong? (2)
Short and simple java O(n) solution (1)
Simple 13 line solution (4)
Python Coder try 2.7 instead of 3 for Segmentation fault (3)
Intutive and Easy to understand solution with explanation (1)
JAVA Simple Solution in O(n) (1)
It worked in dev (1)