Software Fresher Interview Questions

5,367 software fresher interview questions shared by candidates

Ramu has N dishes of different types arranged in a row: A1,A2,…,AN where Ai denotes the type of the ith dish. He wants to choose as many dishes as possible from the given list but while satisfying two conditions: He can choose only one type of dish. No two chosen dishes should be adjacent to each other. Ramu wants to know which type of dish he should choose from, so that he can pick the maximum number of dishes.
avatar

Fresher

Interviewed at Infosys

3.6
May 28, 2022

Ramu has N dishes of different types arranged in a row: A1,A2,…,AN where Ai denotes the type of the ith dish. He wants to choose as many dishes as possible from the given list but while satisfying two conditions: He can choose only one type of dish. No two chosen dishes should be adjacent to each other. Ramu wants to know which type of dish he should choose from, so that he can pick the maximum number of dishes.

Viewing 961 - 970 interview questions

Glassdoor has 5,367 interview questions and reports from Software fresher interviews. Prepare for your interview. Get hired. Love your job.