1. Determine the balanced binary tree. 2. Pattern match 3. Longest consecutive ones
Anonymous
Longest consecutive ones in an array? Create a sliding window and when you find something that it's not a 1 update max.
Check out your Company Bowl for anonymous work chats.