InterviewBit Problems   Diffk : Solved

About the Diffk : Solved category (1)
O(N) time ans O(1) space (1)
Easy less than 10 line solution CPP O(n) time O(1) space (1)
C++ | Diffk | O(n log n) using lower_bound (1)
Python easy solution using sets (1)
O(nlogn) time complexity, constant space, 5 line solution (1)
O(n) time & O(1) space... JAVA Solution (1)
Efficient naive solution (1)
Using Sliding Window C++ Simple Solution (1)
O(n)_Simple Solution (1)
Follow Up Question : Count all such pairs (1)
This would a good approach by using two pointers (1)
Short&Easy C++ solution using sliding window concept (1)
Two pointer approach hint (1)
A great 2 pointer c++ solution (1)
My javascript solution in O(n) (including approach screenshots) (1)
Python solution increment j and i (1)
O(n) time and O(1) space cpp sol (1)
O(n) time and O(1) space c++ hi (1)
[Solved] Python Code - Let me know if you better code (3)
Can anyone tell time complexity my code? (1)
O(nlgn) time is accepted for this problem? (6)
What's wrong in this code (2)
Simple Solution Easy Code (1)
I think the given solution fails for following test case: array= {-1,0,2} diff=-3 (3)
Fault in question (1)
Wrong expected output:( (1)
Why O(n^2) solution is getting accepted? (1)