Skip to content

Instantly share code, notes, and snippets.

@abhaybhu10
abhaybhu10 / tmux.conf
Created May 20, 2018 21:55 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@abhaybhu10
abhaybhu10 / AddGreater.cpp
Last active February 19, 2016 13:22
GEEKSFORGEEKS TREE
#include"Tree.h"
void AddGreater(Node*& root, int &sum)
{
if(!root)
return;
AddGreater(root->right,sum);
sum+=root->data;
root->data=sum;
AddGreater(root->left,sum);
}