Git Product home page Git Product logo

queues's Introduction

Queues

Queues is a software library that provides the following useful generic data structures:

  • a Deque(double-ended queue) implemented using a Singly Linked List - supports adding and removing items from either the front or the back of the data structure.
  • a Randomized Queue implemented using a Resizing Array - the item removed is chosen uniformly at random from items in the data structure.

Project Structure

  • src: project source code
  • lib_deps: library dependencies
  • test: JUnit tests
  • test_cases: test data files
  • nbproject: NetBeans project file
  • build.xml

Prerequisites

NetBeans IDE - for download and install go to https://netbeans.org/

Set-up

  1. Download the project on your drive.
  2. Import the Java Project in NetBeans.

Testing

JUnit test files in the test folder. Permutation.java reads in a sequence of strings from .txt folders and tests weather the RandomizedQueue iterator returns the elements in a random order.

Author

Andreea Teodor

Credits

This application was written as part of an assignment for: Algorithms, Part I by Princeton University on Coursera.

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.