Cody

Problem 44. Trimming Spaces

Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32).

 Input  a = ' singular value decomposition  '
 Output b is 'singular value decomposition'

Solution Stats

30.97% Correct | 69.03% Incorrect
Last Solution submitted on Feb 18, 2020

Problem Comments

Solution Comments