Business Accounts Apprentice Interview Questions

5,546 business accounts apprentice 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 101 - 110 interview questions

Glassdoor has 5,546 interview questions and reports from Business accounts apprentice interviews. Prepare for your interview. Get hired. Love your job.