Typescript Turn Enum Into Array Interview Coding Questions Java