LeetCode 1005 : Maximize Sum Of Array After K Negations || EASY || C++ || JAVA || Detailed Solution

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

C++ solution doesn't accept because you doesn't increase i so where you write k-- then just next line write i++ the code easly sumbit 😊

Shiveshpatel-yj