YOHO Hong Kong Interview Question

name the function base on the code