donnemartin / interactive-coding-challenges

120+ interactive Python coding interview challenges (algorithms and data structures). Includes Anki flashcards.
Other
29.52k stars 4.46k forks source link

Add number prefix to directory names of categories/challenges to indicate order #47

Open SpotlightKid opened 8 years ago

SpotlightKid commented 8 years ago

When you start the IPython/Jupyter notebook at the top-level of the repo, as suggested by the readme, it presents the directory listing and it is not clear where to start and which directories contain challenges and which do not (e.g. the templates directory).

If you go into a challenge category directory, again, it is not clear in which (suggested) order the challenges (if any) should be tackled.

I suggest naming the category and challenge directories with a two-digit number prefix, so that they are ordered like in the readme. Example:

Categories:

01_arrays_strings
02_linked_lists
....

Challenges:

01_unique_chars
02_permutation
...
donnemartin commented 8 years ago

I agree this would be helpful, thanks for the suggestion!

I think it would require a good number of changes:

In a few weeks I'm planning on circling back on this project and reworking a few things, that might be a good time to look into this.

arpit1997 commented 7 years ago

Can I work on this issue? Is the order for challenges is same as defined in the Readme.md ? :small_blue_diamond: :smile_cat:

donnemartin commented 7 years ago

Hi @arpit1997, thanks for asking!

I have some changes I'd like to make to restructure some of the notebooks first, I hope to have this in the next month or two. Just a heads up, I think the renaming suggestion might be a fair amount of work, as some notebooks have links to other notebooks (ie challenge notebooks link to solution notebooks).

DonutNL commented 7 years ago

Try the power of regex ;-)