Mofid Securities Interview Question

fundamental software engineering and some algorithm with time complexity