Skip to content

Instantly share code, notes, and snippets.

@friedenberg
Last active January 14, 2020 23:36
Show Gist options
  • Save friedenberg/2101e76bbe088fc10920f8785dccfbaf to your computer and use it in GitHub Desktop.
Save friedenberg/2101e76bbe088fc10920f8785dccfbaf to your computer and use it in GitHub Desktop.

Problem:

  • Given a string, reverse it word by word.
  • After you’ve that, write your own split function and use that instead of the builtin one

Example:

  • Input: "hard so be to have not does interview coding"
    Output: "coding interview does not have to be so hard"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment