Amazon interview question

Geeks for geeks, heap trees linked list, arrays. Dynamic programming