Open ~/.bash_profile in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {| Data Structure | Access | Search | Insertion | Deletion | Comments | 
|---|---|---|---|---|---|
| Array | 1 | n | n | n | |
| Stack | n | n | 1 | 1 | |
| Queue | n | n | 1 | 1 | |
| Linked List | n | n | 1 | n | |
| Hash Table | - | n | n | n | In case of perfect hash function costs would be O(1) | 
| Binary Search Tree | n | n | n | n | In case of balanced tree costs would be O(log(n)) | 
| Name | Best | Average | Worst | Memory | Stable | Comments | 
|---|---|---|---|---|---|---|
| Bubble sort | n | n2 | n2 | 1 | Yes | |
| Insertion sort | n | n2 | n2 | 1 | Yes | |
| Selection sort | n2 | n2 | n2 | 1 | No | |
| Heap sort | n log(n) | n log(n) | n log(n) | 1 | No | |
| Merge sort | n log(n) | n log(n) | n log(n) | n | Yes | |
| Quick sort | n log(n) | n log(n) | n2 | log(n) | No | Quick | 
 
        | public String Add(String input1, String input2) { | |
| String ans = ""; | |
| int len1 = input1.length(); | |
| int len2 = input2.length(); | |
| if(len1 < len2){ | |
| String temp = input1; | |
| input1 = input2; | |
| input2 = temp; | |
| } | 
| IE6 Only | |
| ================== | |
| _selector {...} | |
| IE6 & IE7 | |
| ================== | |
| *html or { _property: } | |
| IE7 Only | |
| ================== | 
var  provides functional scoping but not block scoping. var allow to log the variable without declaring it though it shows undefined.let  provides functional scoping as well as block scoping.const provies functional scoping as well as block scoping but you cannot reassign value to a const type variable.let and const will not allow you the log the variable without declaring it.
| Keyword | Scope | Hoisting|Can Be Reassigned|Can Be Redeclared
None of the string methods modify this – they always return fresh strings.
charAt(pos: number): string ES1
Returns the character at index pos, as a string (JavaScript does not have a datatype for characters). str[i] is equivalent to str.charAt(i) and more concise (caveat: may not work on old engines).