Skip to content

Instantly share code, notes, and snippets.

View na5imuzzaman's full-sized avatar
🏠
Working from home

Nasimuzzaman na5imuzzaman

🏠
Working from home
View GitHub Profile
@na5imuzzaman
na5imuzzaman / 673.cpp
Created July 17, 2017 22:53
673 - Parentheses Balance
/* Nasim */
#include<bits/stdc++.h>
#include<iostream>
#include<stack>
using namespace std;
void Balance(char *s,int n)
{
stack <char> c;
@na5imuzzaman
na5imuzzaman / stack.cpp
Created July 17, 2017 19:27
Stack Implementation in c++ (without using stack from STL)
/* Nasim */
#include<iostream>
#include<cstdlib>
using namespace std;
class node
{
public:
int data;
@na5imuzzaman
na5imuzzaman / 11185.cpp
Created July 17, 2017 14:19
UVa --> 11185 - Ternary
/* Nasim */
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int n;
char str[150];
while(1)
@na5imuzzaman
na5imuzzaman / 11219.cpp
Created July 17, 2017 09:43
UVa --> 11219 - How old are you?
/* Nasim */
#include<bits/stdc++.h>
using namespace std;
int main()
{
int day,month,year;
int day1,month1,year1;
int n,k=0,age;
cin>>n;
@na5imuzzaman
na5imuzzaman / DoublyLinkedList.cpp
Created July 17, 2017 06:57
Doubly Linked List Implementation Using C++
/* Nasim */
#include<bits/stdc++.h>
using namespace std;
class node
{
public:
int data;