interactive-coding-challenges icon indicating copy to clipboard operation
interactive-coding-challenges copied to clipboard

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

Open SpotlightKid opened this issue 8 years ago • 4 comments

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
...

SpotlightKid avatar Apr 15 '16 14:04 SpotlightKid

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

I think it would require a good number of changes:

  • Renaming folders
  • Updating README links
  • Updating links within notebooks, such as the link to the solution notebook from the challenge.

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.

donnemartin avatar Apr 17 '16 11:04 donnemartin

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

arpit1997 avatar Jan 30 '17 18:01 arpit1997

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).

donnemartin avatar Feb 05 '17 01:02 donnemartin

Try the power of regex ;-)

DonutNL avatar Apr 04 '17 17:04 DonutNL