← Accenture questions
CodingEasy

Calculate difference between spaces in two strings

Filed under Accenture

Given two strings, calculate the absolute difference between the number of space characters in each. Return the numerical difference and whether that difference is 'Even' or 'Odd'.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Accenture questions

Collected from public candidate posts and coding forums. Updated Nov 2026.