Sollicitatievraag bij SAP

https://www.geeksforgeeks.org/puzzle-3-cuts-cut-round-cake-8-equal-pieces/ increasing subsequence coding question