adzkar / practical-data-structure-archive

Example of practical data structure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Struktur Data C++

Berikut adalah beberapa source code dari hasil praktek mata kuliah struktur data.

Compile dengan C++

Install terlebih dahulu compiler untuk c++ nya, jika anda menggunakan linux biasanya sudah terinstall. Namun untuk windows anda dapat mengikuti instruksi seperti pada link disini

   //untuk windows
   g++  namafile.cpp -o namafile.exe
   //untuk linux
   g++  namafile.cpp -o namafile

secara default g++ mencompile dengan standar 98 jika anda ingin mengcompile menggunakan standar yang baru anda dapat menambahkan flag -std sebagai berikut :

   g++ -std=c++11 namafile.cpp -o namafile.exe

standar yang tersedia adalah c++11 c++14 c++17 c++0x

adapun untuk mengcompile beberapa file menjadi satu anda dapat melakukan hal berikut :

    g++ file1.cpp file2.cpp fileN.cpp -o output.exe
    //atau
    g++ -std=c++11 file1.cpp file2.cpp fileN.cpp -o output.exe

Sumber Materi

untuk sumber materi berupa slide bisa klik disini

List of Practical Data Strucutre

  • Singgle Linked List
  • Double Linked List
  • Circular Linked List
  • Multi Linked List
  • Stack
    • Stack List Version
    • Stack Array Version
  • Queue
    • List Version
    • Array Version
      • Versi 1
      • Versi 2
      • Versi 3
  • Tree
  • Graph

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Example of practical data structure


Languages

Language:C++ 100.0%