Vim Customizing
Vim Plugin Manager Installation 아래의 플러그인들을 설치하기 위해서 우선 플러그 매니저를 설치해야한다. curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim ~/.vim...
Vim Plugin Manager Installation 아래의 플러그인들을 설치하기 위해서 우선 플러그 매니저를 설치해야한다. curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim ~/.vim...
Customizing MacOS Terminal 1. Transforming Terminal with Oh My Zsh What is Oh My Zsh? Oh My Zsh is an open-source framework that makes your terminal both vibrant and powerful. By using the Zsh sh...
Setting Up Mac Mini and MacBook Air Environment with Automator Recently, I decided to purchase a Mac Mini after experiencing performance issues with my MacBook Air. However, one major downside of ...
How to train Supervised Learning은 결과값(y)를 알고 있을 때 쓴다. To predict with continuous variable, 이것은 Regression과 관련이 있다 - Numerical. 하지만 단순히 무엇인가 주어졌을 때 yes or no로 category를 해야한다면 classficia...
Zero Trust Architecture: A New Paradigm in Modern Cybersecurity What is Zero Trust? Zero Trust is an approach based on the security philosophy of “Never trust, always verify.” Unlike traditional ...
MITRE ATT&CK Framework: Understanding Cyber Threats and Defense Strategies What is MITRE ATT&CK? MITRE ATT&CK (Adversarial Tactics, Techniques, and Common Knowledge) is a globally acc...
Heap 힙은 최댓값 및 최솟값을 찾아내는 연산을 빠르게 하기 위해 고안된 완전이진트리(complete binary tree)를 기본으로 한 자료구조이다. 힙의 특징에는 최대힙일 경우 항상 부모가 자식보다 커야하고 형제간의 관계는 보지 않는다. 힙에서의 부모 노드와 자식 노드의 관계(index가 1부터 시작한다고 했을 때) ...
바이너리 서치 left = 1 right = n while(left<right): mid = left + int((right-left) / 2) if isBadVersion(mid): right = mid else: left = mid + 1 return left
문제풀이 요령 재귀로 여러번 써야되는 것을 memoization 기법으로 계산 수를 줄이는데 효과적이다. 따라서 중복 계산이 많은 문제(sub array)에서 쓰면 좋다. 이 유형은 가장 흔한 유형이기 때문에 한 가지 패턴을 정해두고 항상 같은 형태로 구현해버리면 작성도 쉽고 버그 찾는 것도 쉬워지니 자신만의 패턴을 만드는 것이 좋다. c...
BST(Binary Search Tree) 루트의 왼쪽은 루트보다 작은 값, 오른쪽은 루트보다 큰 값이 들어간다. 모든 값은 unique하다고 가정한다.. Time Complexity는 O(h) - h는 높이다.