CoreStack interview question

Solve coding in python followed by system design