GoGroup interview question

Design survey builder Print longest increase subsequence