Check if a binary tree is complete | Snapchat Interview Question