Skip to content

Instantly share code, notes, and snippets.

View miladabc's full-sized avatar
:bowtie:
Breathing

Milad Abbasi miladabc

:bowtie:
Breathing
View GitHub Profile
@miladabc
miladabc / queue2StacksArray.cpp
Created July 7, 2018 16:33
Implementation of Queue with 2 array Stacks
//Milad Abbasi
//06-07-2018
//Implementation of Queue with 2 array Stacks
#include <iostream>
using namespace std;
#define MAX_SIZE 5
class Stack
@miladabc
miladabc / headNodeLinkedList.cpp
Created July 7, 2018 16:33
Head Node Linked List
//Milad Abbasi
//06-07-2018
//Head Node Linked List
#include <iostream>
using namespace std;
struct Node
{
int data;
@miladabc
miladabc / doublyLinkedList.cpp
Created July 7, 2018 16:32
Doubly Linked List
//Milad Abbasi
//06-07-2018
//Doubly Linked List
#include <iostream>
using namespace std;
class Node
{
public:
@miladabc
miladabc / cirqularQueueLinkedList.cpp
Created July 7, 2018 16:31
Circular Queue implementation with Linked List
//Milad Abbasi
//06-07-2018
//Circular Queue implementation with Linked List
#include<iostream>
#define SIZE 100
using namespace std;
@miladabc
miladabc / circularQueueArray.cpp
Created July 7, 2018 16:30
Circular Queue implementation with Array
//Milad Abbasi
//06-07-2018
//Circular Queue implementation with Array
#include <iostream>
#define MAX 5
using namespace std;
class CQueue
{
@miladabc
miladabc / circularSinglyLinkedList.cpp
Created July 7, 2018 16:29
Circular Singly Linked List
//Milad Abbasi
//06-07-2018
//Circular Singly Linked List
#include <iostream>
using namespace std;
struct Node
{
int data;