Giter Site home page Giter Site logo

asd_task_2's Introduction

Task_2 [2019]

Task 2 : Linked List Introduction

DEADLINE = FEBRUARY 8th, 2019 - 23:59

Reading Material

Workflow

  1. FORK this repositori ASD_Task_2 to your GitHub account
  2. CLONE ASD_Task_2 repository from YOUR OWN ACCOUNT
  3. open and modify codes in *.cpp and *.h files inside project ASD_Task_2
  4. write your code inside the provided space in each functions/procedures
  5. COMMIT and PUSH your project to your account
  6. create a Pull Request

Create a program to store and manage a data using single linear linked list

TO DO

list.h

  • TODO: Define the elmlist and list data structure
  • Define functions and procedures of single linked list [already done for you]
    • function allocate(in: x : infotype) : address
    • procedure deallocate( i/o: P : address )
    • procedure insertFirst( i/o: L : List, i: P : address )
    • procedure insertLast( i/o: L : List, i: P : address )
    • procedure insertAfter( i/o: L : List, i: Prec : address, P : address )
    • procedure deleteFirst( i/o: L : List, i/o: P : address )
    • procedure deleteLast( i/o: L : List, i/o: P : address )
    • procedure deleteAfter( i/o: L : List, i: Prec : address, i/o: P : address )
    • function findElm( i: L : List, x : infotype ) : address
    • procedure printInfo( i: L : List )

list.cpp

TODO: Implement all functions and procedures defined in list.h

operation.h

  • procedure insert_sorted( i/o : L : List, x : infotype )
    • TODO: insert x into an already sorted-by-ID list L so that
      • the list is sorted ascending order
      • no duplicate number in the List
      • allocate new element only if the conditions are met

operation.cpp

Implement function and procedure defined in operation.h

main.cpp

TODO: Run main.cp to check your implementation

asd_task_2's People

Contributors

adf-telkomuniv avatar undeed avatar haurathaya 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.