@greghogg5: Easy FAANG Interview Question - Number of Good Pairs - Leetcode 1512 Crack big tech at https://algomap.io?utm_source=buffer&utm_medium=direct! #coding #leetcode #programming #interview
I might not be thinking about it right, but don't yuu have to put n-1 into the triangular sequence (0, 1, 3, 6, 10... defines as n*(n+1)/2) and add those.
2026-02-10 18:55:21
2
madvocate’s apprentice :
Wouldn’t that be 3 pairs though
2026-02-10 16:22:51
0
To see more videos from user @greghogg5, please go to the Tikwm
homepage.