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
/* | |
* C++ 이용하여 Splay Tree 구현하기 | |
* | |
* 목적 : Splay Tree 공부 하기 위해 작성했으며, | |
* C++ 이용하여 작성하시는 분들에게 도움이 되고자 했다. | |
* | |
* 설명 : key 값은 int만 가능 하며 중복 key는 허용 x | |
* 단순 연결 리스트로 구현 | |
* | |
* class SplayTree |
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
/* | |
* C++ 이용하여 Red Black Tree 구현하기 | |
* | |
* 목적 : Red Black Tree 공부 하기 위해 작성했으며, | |
* C++ 이용하여 작성하시는 분들에게 도움이 되고자 했다. | |
* | |
* 설명 : key 값은 int만 가능 하며 중복 key는 허용 x | |
* 이중 연결 리스트로 구현 | |
* Red / Black은 식별하기 쉽게 enum이용 했으며, bool 이용시 데이터 크기 절약 | |
* |
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 <Windows.h> | |
#include <iostream> | |
enum { _Preorder = 1, _Inorder, _Postorder }; | |
template <typename T> | |
class Node { | |
public: | |
T key; |
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
/* | |
* C++ 이용하여 AA Tree 구현하기 | |
* | |
* 목적 : AA Tree 공부 하기 위해 작성했으며, | |
* C++ 이용하여 작성하시는 분들에게 도움이 되고자 했다. | |
* | |
* 설명 : key 값은 int만 가능 하며 중복 key는 허용 x | |
* 단순 연결 리스트로 구현 | |
* | |
* class AA Tree |
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
/* | |
* C++ 이용하여 AVL Tree 구현하기 | |
* | |
* 목적 : AVL Tree 공부 하기 위해 작성했으며, | |
* C++ 이용하여 작성하시는 분들에게 도움이 되고자 했다. | |
* | |
* 설명 : key 값은 int만 가능 하며 중복 key는 허용 x | |
* 단순 연결 리스트로 구현 | |
* | |
* class AVLTree |
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 javaStudy.Stack; | |
public interface Stack { | |
boolean push(int data); | |
int pop(); | |
} |
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 javaStudy.ListNodeStack; | |
import javaStudy.ListNode.ListNode; | |
public class ListNodeStack implements Stack{ | |
ListNode node; | |
int top; | |
public ListNodeStack(){ |
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 GithubIsuueDashBoad; | |
import org.kohsuke.github.*; | |
import java.io.IOException; | |
import java.util.*; | |
import java.util.logging.Logger; | |
public class DashBoard { | |
private GitHub github; |
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 javaStudy; | |
public interface LinkedList { | |
void add(ListNode listNode,int position); | |
void remove(int position); | |
boolean contains(Integer key); | |
} |
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
CC = gcc | |
CFLAGS = | |
CLIBS = | |
CMDS = captureProgram | |
all : $(CMDS) | |
captureProgram : captureProgram.c | |
$(CC) $(CFLAGS) $^ -o $@ $(CLIBS) -lpthread -W |
NewerOlder