Longest Balanced Subsequence in a Range - UIDAI_23jan OA Question | OAHelper