solutions for hackerearth problems (tympassgiri ;) )