The repository contains a collection of interactive coding challenges focused on Arrays and Strings. Each challenge is provided as a Jupyter Notebook with two versions: a Challenge notebook for practice and a Solution notebook for reference. You can run these interactively using Binder or view them as static notebooks via NBViewer.
Available challenges include:
- Determine if a string contains unique characters
- Determine if a string is a permutation of another
- Determine if a string is a rotation of another
- Compress a string
- Reverse characters in a string
- Given two strings, find the single different char
- Find two indices that sum to a specific value
- Implement a hash table
- Implement fizz buzz
Some challenges (like 'Find the first non-repeated character in a string') are currently open for contribution.
<!-- Example of how to access a challenge via NBViewer -->
<a href="http://nbviewer.ipython.org/github/donnemartin/interactive-coding-challenges/blob/master/arrays_strings/unique_chars/unique_chars_challenge.ipynb">Challenge</a> │ <a href="http://nbviewer.ipython.org/github/donnemartin/interactive-coding-challenges/blob/master/arrays_strings/unique_chars/unique_chars_solution.ipynb">Solution</a>