Question: HugoSave, Recent Online Assessment Questions , Array Challenge | 2023
0
Entering edit mode

Entering edit mode
0

Can you please share the interview experience about how many rounds and what did they ask?

ADD REPLYlink 14 months ago
Aravind Reddy Koppala
• 0
1
Entering edit mode

Apply greedy approach, minimize the largest elements to reduce the difference between the maximum and minimum number, sort the array and insert the elements in a max heap, perform K operations of reducing the top element in the priority queue and re insert it again, meanwhile maintainting the min difference between the largest and smallest number.

ADD COMMENTlink 4 months ago Bhanupratap Negi • 10

Login before adding your answer.

Similar Posts
Loading Similar Posts