Giter Site home page Giter Site logo

cs-2.1-trees-sorting's Introduction

cs-2.1-trees-sorting's People

Contributors

girugacode avatar neptunius avatar

Watchers

 avatar  avatar

Forkers

ckim42

cs-2.1-trees-sorting's Issues

Feedback on sorting algorithms

What was great:

  • Good job on implementing your is_sorting function efficiently!
  • Good job on successfully implementing your sorting algorithms!

Here's some feedback to improve:

  • Try adding a couple more test cases! It may seem intimidating at first, but you've made it past the hard part. Implementation is way tougher than calling these functions and comparing inputs. In the work environment, writing tests will be required. Its a good habit to build :)

Feedback on prefix trees

Great job on completing the prefix tree! You can further challenge yourself by working on time and space complexities for each prefix tree method. You would be expected to do this in interviews, and it would be good practice :)

Feedback on heaps, priority queues, and integer sorting algorithms

Great work on completing these challenges. Here's some feedback to improve your code:

  • Your priority queue should insert based on the given priority! The min_item should be at the top, using the given priority.
  • Your counting sort fails tests. Try running pytest sorting_test.py::IntegerSortTest to see what errors you get and reach out if you need help debugging. This could likely be because your counting_sort is not in place, and mutating the original list before returning like original_list[:] = result could fix the problem. And make sure to check for an empty list case because min & max don't support empty lists.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.