PwC Interview Question

oops,dsa,about project and self.Also they had asked to code