Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
[OA] Bounded Transition Subsequence
Hard
You are compressing a color run sequence. Given an array of color IDs and an integer k representing the maximum number of allowed color changes, find the length of the longest subsequence such that the number of adjacent pairs with different values is at most k.
A subsequence is formed by selecting elements at any positions (not necessarily contiguous) from the original array while preserving their relative order. ...
Asked at:Snowflake
More Snowflake interview questions
- Inherited Access Rightshard
- Longest Prefix Routermedium
- Product Sales Rankermedium
- Resizable LRU Cachemedium
- Tagged Value Storemedium
- Three Frequency Assignmenthard
- API Throttle Managermedium
- [OA] Work Schedule Generatormedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.