Question d’entretien chez Bloomberg

2 pointers leetcode question about valid triangle