Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include<stdlib.h>
using namespace std;
struct node{
int key;
struct node *right,*left;
};
struct node* newNode(int item){
@awadhawan18
awadhawan18 / abc.json
Last active June 3, 2018 11:28
glitch
{
"//1": "describes your app and its dependencies",
"//2": "https://docs.npmjs.com/files/package.json",
"//3": "updating this file will download and update your packages",
"name": "my-glitch-app",
"version": "0.0.1",
"description": "What am I about?",
"scripts": {
"start": "node server.js"
@awadhawan18
awadhawan18 / Random-images.json
Created September 17, 2017 13:53
Sample json data with image and a text for testing
{
"sample":[
{
"description":"Lady with a red umbrella",
"image-url":"https://i.imgur.com/pwpWaWu.jpg"
},
{
"description":"Flowers and some fruits",
"image-url":"https://i.imgur.com/KIPtISY.jpg"
},
@awadhawan18
awadhawan18 / random-quotes.json
Last active January 22, 2017 16:23
json object
{ "quotes":[
"Life isn’t about getting and having, it’s about giving and being.",
"Whatever the mind of man can conceive and believe, it can achieve.",
"Strive not to be a success, but rather to be of value.",
"Two roads diverged in a wood, and I—I took the one less traveled by, And that has made all the difference.",
"I attribute my success to this: I never gave or took any excuse.",
"You miss 100% of the shots you don’t take.",
"I’ve missed more than 9000 shots in my career. I’ve lost almost 300 games. 26 times I’ve been trusted to take the game winning shot and missed. I’ve failed over and over and over again in my life. And that is why I succeed.",
"The most difficult thing is the decision to act, the rest is merely tenacity.",
"Every strike brings me closer to the next home run.",