Greedy Forest Hackerrank Solution

Опубликовано: 30 Август 2020
на канале: Kuldip Ghotane
3,385
77

In this video I have discussed Greedy florist from greedy section in hackerrank interview preparation kit playlist.

In this problem we have to minimize the cost of buying all flowers so we can do this by buying low-priced flowers in the later stage because they will have a multiplier with them.

In the solution basic sort and for loop is used to solve the problem.

if you are someone who is trying to solve all the problems from hackerrank interview preparation kit playlist and getting stuck anywhere or looking for optimized solution do check my playlist
   • Hackerrank Interview Preparation Kit  

0:00 Start
0:40 Problem Definition
2:17 Logic building with explanation
14:40 Code


Смотрите видео Greedy Forest Hackerrank Solution онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Kuldip Ghotane 30 Август 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,385 раз и оно понравилось 77 людям.