Frage im Vorstellungsgespräch bei Celebal Technologies

there were two or three coding question asked to code one of was Ladder Pattern Problem in Python another last question about SQL Query to find datavalues starting with a