← Infosys questions
CodingReported in a candidate post, Apr 2022

Array problem similar to HackerRank Candies

Filed under Infosys

Alice is a candy store owner. She wants to give some candies to her children in a line. You are given an array of children's ratings. You must distribute candies such that each child gets at least one…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Infosys questions

Collected from public candidate posts and coding forums. Updated Nov 2026.