Solve word count, node, segmentation, stock tasks | Meta Interview Question