Skip to content

Instantly share code, notes, and snippets.

View godtaehee's full-sized avatar
🦜
I'm developer

Taehee Evan Kim godtaehee

🦜
I'm developer
View GitHub Profile
@godtaehee
godtaehee / treeDelete
Created April 26, 2019 17:11
#Algorithm Sort
#include <iostream>
using namespace std;
class Node{
public:
int value;
Node* left;
Node* right;
@godtaehee
godtaehee / TreeInsert
Created April 24, 2019 16:40
#Algorithm Sort
#include <iostream>
using namespace std;
int scount = 0;
void treeInsert(int arr[], int t , int x){
@godtaehee
godtaehee / Merge Sort
Created April 5, 2019 14:36
#Algorithm Sort
#include <iostream>
using namespace std;
void mergeSort(int *arr, int p, int r);
void merge(int *arr, int p, int q, int r);
int main(){
int n;
@godtaehee
godtaehee / Insert Sort
Created April 5, 2019 03:06
#Algorithm Sort
//
// Created by 김태희 on 2019-04-05.
//
#include <iostream>
using namespace std;
int main(){
#include <iostream>
using namespace std;
int main(){
int n;
bool sorted;
cin >> n;
@godtaehee
godtaehee / Book: Bubble Sort
Created April 5, 2019 02:01
#Algorithm Sort
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
int arr[n];
@godtaehee
godtaehee / Book: Select Sort
Created April 5, 2019 00:33
#Algorithm Sort
#include <iostream>
using namespace std;
int main(){
int n;
int tmp;
int index;
@godtaehee
godtaehee / Select Sort
Created March 25, 2019 09:50
Algorithm Sort
#include <iostream>
using namespace std;
int main() {
int n;
int tmp;
cin >> n;
@godtaehee
godtaehee / Bubble Sort
Last active March 25, 2019 08:10
#Algorithm Sort
#include <iostream>
using namespace std;
int main() {
int n;
int tmp;
cin >> n;
#include <stdio.h>
void d(){
int x,y,w;
int arr[10001] = {0};
for(int n = 1; n < 10001; n++){
if(n < 10 && n > 0)