Squash Apps interview question

Find the length of the string with out using string API