Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2900. Longest Unequal Adjacent Groups Subsequence I
Given an array words and a parallel binary array groups, find a longest subsequence (preserving original order) of words such that the corresponding group bits strictly alternate (no two consecutive bits are equal); return any valid longest subsequence.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.