GlobalLogic Interview Question

Write codes for some common problems.: