DS Recap (Graph4)

Find the shortest path from a starting vertex to all other vertices.The graph is connected.The edge weights are nonnegative.처음 노드에서부터 'cloud'(이미 start

5일 전
·
0개의 댓글
·

DS Recap (Graph3)

Subgraph that contains all vertices of the original graph and is a tree.즉, 기존 그래프의 모든 노드들을 최소한의 엣지로 연결한 그래프. 사이클 X.ST는 여러 그래프를 가질 수 있다.ST중에서 각 edge we

6일 전
·
0개의 댓글
·
post-thumbnail

DS Recap (Graph2)

Vertices and edgesendVertices(e) : an array of two endvertices of e.opposite(v, e) : the vertex opposite of v on e.areAdjacent(v, w) : true if and onl

6일 전
·
0개의 댓글
·
post-thumbnail

DS Recap (Graph1)

A graph G = (V, E) : finite set of vertices V and finite set of edges E.V, E는 집합이므로 V에 속한 각 v와 E에 속한 각 e는 unique하다.Edge : (u, v), u와 v는 V에 속한 vertices

6일 전
·
0개의 댓글
·
post-thumbnail

DS Recap (DP - LCS)

.

2025년 12월 7일
·
0개의 댓글
·
post-thumbnail

DS Recap (DP - MCM, 0-1 Knapsack)

Divide the problem into a nnumber of subproblemsConquer the subproblems by solving them recursively. If the subproblem sizes are small enough, just so

2025년 12월 7일
·
0개의 댓글
·

DS Recap (Hash ~ Heapsort )

get(key)put(key, value)remove(key)size()isEmpty()entrySet()keySet()values()put : O(1), but if uniqueness needed, O(n).get, remove : O(n) in the worst

2025년 12월 6일
·
0개의 댓글
·

DS Recap (sorting by D & C)

Strategy > - Break down into smaller problems > - Solve the smaller problems > - Combine results > - Recursive Sorting via divide-and-conquer Merge S

2025년 12월 4일
·
0개의 댓글
·

DS Recap (Sorting by 비교)

(n-1) + (n-2) + ... + 2 + 1 = n(n-1)/2 ~ O(n^2)Best case : O(n) by flagWorst case : O(n^2)Average case : O(n^2)Best case : O(n^2)Worst case : O(n^2)Av

2025년 12월 4일
·
0개의 댓글
·

DS Recap (Queue, Recursion )

rear(back)에서 Enqueue, front에서 Dequeue가 일어나는 ordered list.FIFO schemeTypically implemented with array or LLenqueue(Object) from rearObject dequeue() fr

2025년 12월 4일
·
0개의 댓글
·

DS Recap (Array ~ Stack)

Abstract Data TypeA mathematical model of the data objects that make up a data type as well as the functions that operate on these objects.Defined ind

2025년 12월 3일
·
0개의 댓글
·

염기 서열에 대한 간단한 고찰

자료구조의 기초 과제로 '염기 서열 정보 검색 엔진 만들기'를 하다가 갑자기 엉뚱한 생각이 들어서 끄적여본다.우리가 속한 세계는 모두 연속적인 것들로 이뤄져 있다고 생각한다.쉽게 말하면 다분법적 존재가 아닌 연속적인 존재들로, 0과 1이 아닌 그 사이에 무한히 많은 것

2025년 11월 6일
·
0개의 댓글
·

Tree 3

Lookup TimeBalanced Tree : O(log n)Unbalanced Tree : O(n)Insertion TimeBalanced Tree : O(log n)Unbalanced Tree : O(n)A Self-balancing binary search tr

2025년 10월 31일
·
0개의 댓글
·

Tree 2

Can be done easily by recursionSo, order of visit does matter\-> 좌, print, 우로 움직이기 때문에 binary tree에서만 유효.\-> Printing Arithmetic Expressions 응용 가능.Pri

2025년 10월 31일
·
0개의 댓글
·

Tree 1

Consist of nodes and linkes denoting parent-child relation.Special case of graphs with a hierarchical structure but without loops.Each elemept except

2025년 10월 31일
·
0개의 댓글
·

Linker-Script based Task Allocation Structure

실제 구현 메커니즘 User 레벨 코드 (간단함): 컴파일러 레벨에서 자동 생성 (매크로가 수행): unsafe extern "C" fn led_blinker() -> ! { / 원래 코드 / }

2025년 10월 27일
·
0개의 댓글
·

Dynamic tasks scheduling structure implementation

🚀 Tock 철학 구현:✅ Controlled Interface: 모든 앱이 app_syscalls 모듈 사용✅ Cooperative Scheduling: 모든 앱이 yield_cpu() 사용✅ Kernel-mediated Services: 로깅, GPIO, 타

2025년 10월 15일
·
0개의 댓글
·

Static tasks structure -> Dynamic tasks structure

현재 내 프로젝트는'Tock-style, Rust based RTOS mini-kernel, static task structure' 형태이다.앞으로 optimization 방향성은Dynamic task generation adn allocation, schedulin

2025년 10월 15일
·
0개의 댓글
·

RTOS Context switching implemented

3주 간의 개고생 끝에 결국 해냈다...!!!!!

2025년 10월 10일
·
0개의 댓글
·

Context switching 디버깅1

일단 내가 이 어셈블리어를 직접 뜯어고치려면 알아야 하는 필수 정보들을 정리했다. | 주제 | 설명 | | -----------------

2025년 10월 9일
·
0개의 댓글
·