Medatech interview question

logic riddles, data structure, and SQL questions