Super Reduced String

  • + 1 comment

    How can both res and res[val] == c? doesn't res include the entire list while res[val] is a single letter & c is a single letter?