Infosys OA experience (On Campus)

Time duration:3hrs
total 4questions
must solve 3 questions to enter next round

I remember only three questions from the process:
Screenshot 2026-08-20 211629.png

Screenshot 2026-08-20 211611.png
Screenshot 2026-08-20 211540.png

one more question is:
you are given no.of items n
cost of n elements cost[i]
type of the items type[i]
there are two type 0 and 1
we are given a BUDGET B
and we need to select max no.of items
we could select an item atmost once
but if you choose even one type 1 item

you should pay for reusable cooler bag cost C
only once you pay C i mean if you take two type1 only one time C is cut
finally output needs to be total no.of items that can be selected constraints are large

Screenshot 2026-08-20 215707.png

Comments (0)