News for hackers. Stuff that matters.
Re:Show HN: Python library for learning binarytrees by foo101 on Wednesday June 06, 2018 @08:39AM (#17246540)
Exactly this! If you are learning algorithms, you should be implementing your own trees rather than relying on a library like this that does the work for you.

The real benefit of learning algorithms comes when you put the hard work into it to build the data structures in a bottom up manner. Using someone else's tree generating library eliminates this experience which is a vital experience in the journey of learning algorithms.

Re:Show HN: Python library for learning binarytrees by bogomipz on Wednesday June 06, 2018 @09:08AM (#17246783)
Except the use case for this is not meant as a substitution for "hard work." It's a convenience library.

This is no different than importing the Python's standard library's queue, dequeue, hash etc for use in studying algorithms that use those data structure after you understand how to implement them by hand.