Count Triplets

  • + 2 comments

    I am stuck with the the corner case of R=1 , It will be great if you can share your solution.