Confiz Interview Question

Pseudo codes of problems