Watch tutorials and explanations by expert teachers that walk through solving this problem.
Light Of Truth
Techdose
Cracking FAANG
JTECH
Daniel S Seo
IB
Raymond Chen
Sleepy Cracker
EduEverybody
Solve more problems to master this pattern