Second question was a puzzle literally. For 'maximize cost' question, it felt like guy was confused himself.
@amorphous47687 ай бұрын
hi
@amorphous47687 ай бұрын
i don't get the point like inside the check function .. why we are including the starting element of the array as the prev ?? could u help me. it could be possible that we don't have to include the first element of the array