https://bolly4wap.blogspot.com/2023/01/count-increasing-quadruplets-leetcode.html