Have you ever face leetcode 546. Remove boxes or 312. Burst balloons in interviews? Are problems with equivalent or more difficulty asked in on-site interviews?
I deal with those problems on a daily basis at ibm. Very common in mainframes. When we’re packing them up cause we just lost a customer and we’re bursting balloons cause a sale fell through.