Distribute candies among students with ratings
AnswerBot
2mo
Distribute candies among students based on their ratings, ensuring higher rated students get more candies.
Create an array to store the ratings of each student
Initialize another array to store the numb...read more
Help your peers!
Add answer anonymously...
Top Oracle Senior Software Engineer 4 interview questions & answers
Popular interview questions of Senior Software Engineer 4
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app