This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "func.h" | |
using namespace std; | |
Tleaf main_root = NULL; | |
int main() | |
{ | |
int x ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef FUNC_H_INCLUDED | |
#define FUNC_H_INCLUDED | |
#include <iostream> | |
using namespace std; | |
typedef struct TreeLeaves | |
{ | |
int fruit ; | |
struct TreeLeaves *leftFruit ,*rightFruit; | |
}*Tleaf ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
struct Node { | |
int data ; | |
struct Node *next ; | |
}; | |
struct Node *head = NULL, *curr = NULL ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
void max_heapfy(int *p , int i , int n) | |
{ | |
int lc = 2*i + 1 ; | |
int rc = 2*i + 2 ; | |
int li; | |
if(lc < n && p[lc] > p[i]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Merge Sort.cpp : Defines the entry point for the console application. | |
//k | |
#include <iostream> | |
#include <stdlib.h> | |
using namespace std; | |
void Merge( int *A,int *L,int *R,int lCount,int rCount ) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#define MAX_SIZE 100000 | |
using namespace std; | |
struct Entry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//shell sort | |
#include <iostream> | |
using namespace std; | |
int iCount (int *A,int size) | |
{ | |
int counter = 0 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
struct BSTnode | |
{ | |
int data; | |
BSTnode* left; | |
BSTnode* right; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.here; | |
import android.support.v7.app.ActionBarActivity; | |
import android.support.v7.app.ActionBar; | |
import android.support.v4.app.Fragment; | |
import android.app.AlertDialog; | |
import android.app.Notification; | |
import android.app.NotificationManager; | |
import android.content.DialogInterface; | |
import android.os.Bundle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.model small | |
.stack 100h | |
.data | |
MSG1 DB 'A FOR ADDITION S FOR SUB... : $' | |
MSG2 DB 'INPUT FOR ADDITION$' | |
INPUT_1 DB 'FIRST NUMBER : $' | |
INPUT_2 DB 'SECOND NUMBER : $' |