← Google questions

Maximize length of equal number subsequence with operations

Filed under Google

Given an array of n elements and an integer k, perform a specific operation on each element to maximize the length of a subsequence in which all numbers are equal.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.