'game with sticks' and 'sort the array' problems were solved