Apprentice Engineer Interview Questions

596 apprentice engineer interview questions shared by candidates

A string S made of uppercase English letters is given. In one move, six letters forming the word "BANANA" (one 'B' three 'A's and two 'N's can be deleted from S. What is the maximum number times such a move can be applied to S? Write a function:
avatar

Apprentice Software Engineer

Interviewed at Sky

3.5
Apr 25, 2023

A string S made of uppercase English letters is given. In one move, six letters forming the word "BANANA" (one 'B' three 'A's and two 'N's can be deleted from S. What is the maximum number times such a move can be applied to S? Write a function:

Viewing 11 - 20 interview questions

Glassdoor has 596 interview questions and reports from Apprentice engineer interviews. Prepare for your interview. Get hired. Love your job.