Google interview question

Basic LeetCode/HackerRank type technical interview that shows an understanding of data structures and algorithms.