Maximum sum of absolute difference of any permutation | Love Babbar DSA Sheet | Greedy

preview_player
Показать описание


Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :)

#Greedy
Love Babbar DSA Sheet
Рекомендации по теме
Комментарии
Автор

More intuitive solution than original article. 😊😊

ManishKumar-rzub
Автор

Wrong algo not work for all cases
[1, 2, 3, 4]
According to your alag output is [1, 4, 2, 3] and answer is 6 but actual output is [2, 4, 1, 3] and answer is 7

mohammadsharifansari
Автор

Nice but one advice just increase the mic volume

justanaverageguy
Автор

Can you do a video on binary tree camera and skyline problem? Tq

algorithmo