JPMorganChase interview question

dont remember, it was leetcode mediums though