Code Monkey home page Code Monkey logo

datastructures's People

Contributors

sirodiaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

datastructures's Issues

Add more list methods and types

Add more methods and implement interfaces for extend the functionality of list classes.
Methods to implement:

  • fix iterator in ArrayList
  • fix error with contains method in doubly linked list
  • implement ArrayAccess
  • create an abstract class (ListAbstract) and refactor code
  • fix possible errors
  • rewrite insertion in simply linked list
  • test pop method in simply linked list
  • create custom exceptions for many method cases
  • modify some test methods for exception handling
  • getLast
  • contains
  • indexOf
  • lastIndexOf
  • remove
  • create documentation
  • increase code quality

Add basic benchmarks for list classes

Generate raw data and generate benchmarks for different methods. Finally generate a .txt in benchmark folder that contains results generated. Benchmarks will be created in a different branch named, for example, benchmark.

  • Create a benchmark branch
  • Add Faker library for generate random data and store results in a txt or csv file
  • Generate script for running benchmarks
  • Store results in another file

Add more list methods and data structures

  • Separate chaining hash table as a strategy
  • Open addressing strategy
  • throw exception in get and search method (BinaryTreeAbstract class)
  • binary heap
  • create SortedList with doubly linked list
  • quicksort method
  • searchLast with reduced visibility
  • getNodeAt
  • addAll
  • removeAll
  • deleteAll
  • set
  • subList

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.