Amazon Interview Question

fundamental data structures and one dp question (coding)