Netflix interview question

two Python and two SQL