Dynamo interview question

SQL , Algorithms , Python