Giter VIP home page Giter VIP logo

cs378-deque's People

Contributors

tbc399 avatar

Watchers

 avatar

cs378-deque's Issues

Simple Solution

Implement and debug the simplest possible solution in Deque.h with assertions that check pre-conditions, post-conditions, argument validity, and return-value validity, until all tests pass, and add, commit, and push to the private code repo.

push_front broken

push_front() is trying to do something with an invalid pointer when I go to allocate space for the new element up front.

Make the pop methods faster

There's some hideous flaw with the way I wrote pop_front() and pop_back() becasue they take way too long.

Doxygen

Run Doxygen, which will create html/ [make html], that then documents the interfaces to your functions.
Create inline comments if you need to explain the why of a particular implementation.

Make insert and erase faster

Try and see where the iterator is relative to the ends of the deque. If it's closer to begin() then move the elements between begin() and the iterator. The same idea goes for when it's closer to end().

Commit Log

Create a log of your commits in Deque.log [make Deque.log].

Clone Test Repo

Clone the public test repo onto your local directory [make deque-tests].

Put Unit Tests Into Public Test Repo

Copy your unit tests and to your clone of the public test repo, rename the files, do a git pull to synchronize your clone, and then add, commit and push to the public test repo.

>= 5 Commits

Make at least 5 commits, one for each bug or feature.

Travis CI

Connect your Travis CI account to the dev branch of your private code repo.

Move Semantics For Swap

Try and use move constructors to implement swap. I don't even know if that's possible, but I think the book said that's how swap should work.

Unit Tests

Write unit tests in TestDeque.c++ that test corner cases and failure cases until you have an average of 3 tests for each function, confirm the expected failures, and add, commit, and push to the private code repo.

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.