Skip to content

Instantly share code, notes, and snippets.

View muhammadSaifullahACDA's full-sized avatar
🎯
Focusing

muhammadSaifullahACDA

🎯
Focusing
View GitHub Profile
@kuntalchandra
kuntalchandra / stack.c
Last active March 2, 2022 23:50
Stack implementation using Linked List
/**
* Implementation of stack using Linked list
* Average Time Complexity
* Insert/delete Θ(1)
* Search Θ(n)
* Space complexity: O(n)
*/
#include <cstdlib>
#include <stdio.h>
#include <malloc.h>