Infosec Ventures Interview Question

reverse of string, types of join, array sort without function