PAX Technology interview question

Write Diagram and some coding questions