Practise code for online coding competition and interview preparation