Nagarro SDE OA | Remove Consecutive Vowels from String & Maximum Sum Subarray of Size K

Nagarro · Question · Posted Jun 2026

Problem 1 - Data Stream Noise Cancellation Problem Statement You are developing a text-processing filter for an automated customer feedback sentiment engine. The system receives a string feedbackStream consisting of uppercase and lowercase English letters. Due to an audio-to-text transcription glitch, multiple vowels may appear consecutively in the stream. Your task is to remove consecutive vowels such that only the first vowel from every consecutive vowel sequence is retained. Vowels are defined as: a, e, i, o, u, A, E, ...

The full answer & interview discussion are available to premium members.

Log in Create a free account