HackerEarth Deleting arrays problem solution - TheCScience