Merge Triplets to Form Target Triplet
Given a 2D array triplets and a target array You can merge two triplets by taking max of each position Return true if you can form the target triplet Example: triplets = [[2,5,3],[1,8,4],[1,7,5]], target = [2,7,5] => true
This one looks straightforward, but it quietly checks whether you reach for the right lookup structure. Interviewers love it because it reveals your data-structure instincts and your edge-case discipline. The signal here is clean bookkeeping: know what you record and when you update it.

Meet Coco
Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix. Sign in free to type with Coco, up to a daily limit, and to talk with her for one hour. After that, talking comes with the $79 pack. Anyone can open the editor and run their code.