Ad
  • Custom User Avatar

    I misinterpreted the instructions. I thought we were supposed to get the values from each level, sort them, and then put the levels in order, this way the values in each level of the tree would be sorted as opposed to being in the same order they were in the tree. The examples given and the sample tests did not rule out this interpretation.

  • Custom User Avatar

    Nice. It seems like the first if statement may not catch multiple apostrophes occuring in the middle of the text. What will it return for "Hello ''' there."?