Python Check Array Size Javascript Interviewbit