Hone Health Interview Question

Misc leet code puzzle for SQL and Python.