Skip to content

Instantly share code, notes, and snippets.

View lsiddiqsunny's full-sized avatar
🎯
Focusing

Mohammed Latif Siddiq lsiddiqsunny

🎯
Focusing
View GitHub Profile
#include<bits/stdc++.h>
using namespace std;
int StringToNumber ( const char *c )
{
int r=0;
int k=0;
for(int i=strlen(c)-1; i>=0; i--)
{
r+=((c[i]-'0')*((int)pow(10,k)));
#include<stdio.h>
#include<stdlib.h>
#define NULL_VALUE -99999
#define SUCCESS_VALUE 99999
struct listNode
{
int item;
#include<stdio.h>
#include<stdlib.h>
#define NULL_VALUE -99999
#define SUCCESS_VALUE 99999
struct listNode
{
int item;
#include<stdio.h>
#include<stdlib.h>
#define NULL_VALUE -99999
#define SUCCESS_VALUE 99999
struct listNode
{
int item;
#include<bits/stdc++.h>
using namespace std;
struct linkedlist
{
int data;
linkedlist *next;
} *root;
void appand(int newdata)
#include<bits/stdc++.h>
using namespace std;
template<typename T>
struct linkedlist
{
T data;
linkedlist *next;
};
#include<bits/stdc++.h>
using namespace std;
struct circullerqueue
{
int a[10];
int SIZE=0;
int MAX_ELEMENT=10;
int Front=-1,rear=-1;
void push(int data)
#include<bits/stdc++.h>
using namespace std;
template<typename T>
struct linkedlist
{
T data;
linkedlist *next;
};
#include<stdio.h>
#define MAX_HEAP_SIZE 100000
#define MAXREAL 999999.0
class HeapItem
{
public:
int data;
#include<stdio.h>
#include<stdlib.h>
#define NULL_VALUE -99999
#define SUCCESS_VALUE 99999
struct listNode
{
int item;