InterviewBit Problems   Counting Triangles : Unsolved


About the Counting Triangles : Unsolved category (1)
Not working for larger cases .its giving me a partial score. what should i do? (3)
C++ Compiler Bug: Running the test case as custom input gives correct answer but fails otherwise (2)
Possible triangles in Example (3)
Explanation for test case 1 1 1 2 2 (10)
Tell me how to perform in less time? (1)
Python fail, C++ pass (1)
Python someone tell me why its wong? (1)
Failing for larger inputs? (4)
Fastest Solution is Slower than Editorial (1)
Bug in question (2)
What is wrong with the compilers (1)
Help me to improve! grtting TLE(Python 3) (1)
Same code submiited on leetcode with time limit 8ms (4)
Why adding (k-j) to the answer? (3)
My code runs in O(n^2) but still its showing, tle, how? (1)
Results don't match what I got in my compiler (1)
Clarification of problem statement (1)
Having a TLE. What's wrong with code? (1)
How is ans for [ 1,1,1,1,1 ] --> 10? (3)
How [4,6,13,16,20,3,1,12] output is 12 instead of 11? (3)
Compiler gives TLE in A : [ 13, 5, 16, 8, 11, 12, 7, 2, 6, 15, 19, 14, 10, 17, 1, 18 ] but custom input results 300 (1)
Why this code is giving TLE (time limit exception)? (1)
Get Failed test cases (1)
I think my code is O(n^2) but is failing in efficiency test. Can someone tell me what's wrong? (7)
Getting tle error (2)
How can [4, 6, 13, 16, 20, 3, 1, 12] test case output 12 instead of 10? (4)
Wrong answer for large cases (2)
Code falling in efficiency test (1)
O(N^2 logN) solution is also accepted (2)