Lyzr interview question

Leedcode problem and System Design Realte Question