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 / 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;
@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 / 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 / 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 / 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 / Queue_Array.cpp
Last active July 18, 2017 12:04
Queue Implementation in C++ using Array
/* Nasim */
#include<iostream>
using namespace std;
int arr[10];
int Front = -1,Tail = -1 ,numOfElements = 0;
bool isEmpty()
{
@na5imuzzaman
na5imuzzaman / Queue_LinkedList.cpp
Last active March 1, 2022 14:43
Queue implementation in C++ using Linked List.
/* Nasim */
#include<iostream>
using namespace std;
class Queue
{
public:
int data;
Queue *next;
First open up Terminal and run the following commands serially-
1. wget 'https://github.com/ugcoder/avro/releases/download/v2.0/avro_2.0-1_all.deb'
2. sudo dpkg -i avro_2.0-1_all.deb
now if you see any dependency error, then also run the third command
3. sudo apt-get install -fy
Avro should be installed on your system by now. Now go to Settings - Language Support and check whether ibus is selected as the default input method. Now from Terminal restart ibus by typing ibus restart.
Now again go to Settings - Keyboard - Text Entry and add Avro as the input source.
First open up Terminal and run the following commands serially-
1. wget 'https://github.com/ugcoder/avro/releases/download/v2.0/avro_2.0-1_all.deb'
2. sudo dpkg -i avro_2.0-1_all.deb
now if you see any dependency error, then also run the third command
3. sudo apt-get install -fy
Avro should be installed on your system by now. Now go to Settings - Language Support and check whether ibus is selected as the default input method. Now from Terminal restart ibus by typing ibus restart.
Now again go to Settings - Keyboard - Text Entry and add Avro as the input source.
@na5imuzzaman
na5imuzzaman / BD TIME.java
Created September 21, 2017 08:30
Current Time Code in JAVA
/*
@author Nasimuzzaman Nasim
*/
import javax.swing.JOptionPane;
import java.text.DecimalFormat;
public class Main
{
public static void main(String args[])