InterviewBit Problems   Counting Triangles : Solved

About the Counting Triangles : Solved category (1)
Java Solution using 2 pointer and binary search (1)
Easy Accepted Cpp Solution (4)
Yet another incorrect test (1)
Reason for WA (two pointer approach)? (2)
Simple C++ solution using 2 pointer and binary serach (2)
Your code might be failing for larger test-cases:Partially Correct (2)
Java Solution AC (1)
The solution was accepted but my code gave wrong answer for [0,0,0] (2)
Why adding (k-j) to the answer (1)
Python 3editorial solution gives TLE (1)
Ans%(1000000007) works fine but ans%(int)(10e9+7) doesn't? (2)
Why am i getting Segmentation Fault (1)
Why i am getting TLE..... plz help,thnx in advance (1)