Practise for lintcodes.com