Count Triplets

  • + 2 comments

    I didn't know this. Thank you. But here is something I read.

    https://stackoverflow.com/a/1963514

    So, in a worst case scenario, the operation may be O(n). This makes the python implementation solution O(n^2).