Skip to content

Instantly share code, notes, and snippets.

@muhammedeminoglu
muhammedeminoglu / queueArray.c
Created May 20, 2017 18:27
enqueue and dequeue operations with array
#include <stdio.h>
#define QUEUESIZE 5
int Queue[QUEUESIZE - 1];
int frontElement = -1, rearElement = -1;
void enQueue(int item)
{
if(rearElement > 4)
@muhammedeminoglu
muhammedeminoglu / stackLinked.c
Created May 20, 2017 18:25
All the Stack Operations with Linked List
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
struct person{
char firstName[19];
char secondName[19];
int age;
struct person *next;
@muhammedeminoglu
muhammedeminoglu / stackArray.c
Created May 20, 2017 18:24
Stack operations, Push, pop, peek with array
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#define STACKLIMIT 5
// ************ Muhammed Eminoglu ************
// *********www.algoritmauzmani.com***********
// *********www.muhammedeminoglu.com**********
@muhammedeminoglu
muhammedeminoglu / singlyList.c
Created May 20, 2017 18:23
Singly Linked List All Operation
#include <stdio.h>
#include <stdlib.h>
////// ****** AUTHOR Muhammed Eminoðlu ****** \\\\\
//////*****************************************\\\\\
//////******************************************\\\\\
//////**********www.muhammedeminoglu.com*********\\\\\
//////**********www.algoritmauzmani.com***********\\\\\
//Global variables