Intel Corporation interview question

Leetcode styles questions, basic questions on data structures