Meesho Interview Question

they asked me to implement a expense distribution app functions.