Deloitte| OA | 4th feb 2026 | Outstanding Words | Array Element Sum | Coding Assessment | Complete Solutions & Tips | String Parsing & Array Math | Feb 4th Campus Assessment

Question · Posted Mar 2026

Question 1: Outstanding Words Count Problem Statement: You are given a message "msg" that contains a list of words. A word is considered "Outstanding" if all its characters are among a specific set of allowed characters: ('H', 'I', 'N', 'O', 'S', 'X', 'Z', 'W'). Write a program to count the outstanding words in the given "msg". Read the input from STDIN and print the output to STDOUT. Do not print arbitrary strings anywhere in the program, as these contribute to ...

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

Log in Create a free account