Skip to content

Rohith-Raju/LinkedList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkedList

This project consits of templated version of linear linked list that mimics the style used in C++ standard template library. This project was done to learn, understand and practice concepts specifically tied to C++.

Prequisite

This project uses C++17 and cmake version 3.27

Usage

#include "LinkedList.h"
#include "iostream"

int main() {
  LinkedList<int> LList = {1, 2, 3, 4, 5};

  for (auto item : LList) {
    std::cout << item;
  }

  return 0;
}

Testing

Gtest is used as the testing framework. To build tests

mkdir build && cd build
cmake ../
cd testing
make 

To run the tests

./LinkedList_test

About

A STL like implementation of Linked List

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published