Coder Social home page Coder Social logo

jerryliuy / hw4-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beintrees/hw4-template

0.0 1.0 0.0 556 KB

Starter code for CSC340-03 HW4

CMake 0.84% C++ 86.70% Makefile 0.60% M4 0.81% C 0.08% Python 10.33% Shell 0.63% Objective-C 0.01%

hw4-template's Introduction

#HW4 Sorted Doubly Linked List

#First-Name Last-Name

TODO - Update your name in this readme.

TODO - Add a badge from travis CI here

##Problem statement: Implement a backend for a Class that represents a Sorted Doubly Linked List(Ascending order). For more information on a Doubly Linked List, Refer here: [https://en.wikipedia.org/wiki/Doubly_linked_list]

You must write code in the class SortedDoublyLinkedList, inside SortedDoublyLinkedList.h. The functions that are to be implemented by you are marked with a //TODO

Constraints

  • The class should support the following Node types via templates:
    • int
  • The list must be sorted(Ascending order) at all times.
  • The Class must use Node from Node.h to represent a node.

Files to work on

You are required to work on README.md and /src/SortedDoublyLinkedList.h You can also modify main.cpp to debug your program. Please DO NOT MODIFY any other files. Modifying any other file will result in penalty to your grade.

Running tests

  • To run the program, select the configuration hw4_run from the top right and click on run
  • You can run the tests using Clion: select the configuration runAllHW4Tests from the top right and click on run
  • To use Clion's Google test configuration:
    • Goto Run->Edit Configurations..
    • Select the "+" icon on the top left to add a new configuration of type "Google Test"
    • Enter in a name, and also target configuration as "runMainHW4Tests"
    • Select Ok.
    • You can now use this configuration for better test display by CLion.

Notes

  • Make sure your solution compiles and runs. There are no points for code that doesnt compile.
  • The Initial template code will compile, but will fail in most of the test cases.
  • Look at samples in the class repository for example code.
  • Try to first pass addToListTest (Implement the add() function first).
  • It is recommended that you add your name and travis ci badge to your readme.
  • Make sure your last push is before the deadline. Your last push will be considered as your final submission.
  • Post questions on Piazza if you had any questions.
  • Please contact the course staff if you run into issues. We are here to help you!
  • look at this video for how to run CLion tests: https://youtu.be/8Up5eNZ0FLw

hw4-template's People

Contributors

sre42 avatar

Watchers

 avatar

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.