AKUNA CAPITAL interview question

code Q1: Cut-the-Sticks problem. code Q2: (S Expression) Binary tree problem.