Recent posts

[C] Recursive call

1 minute read

Recursive calls are calling the same function within a function, i.e. itself. Recursive calls call the same function within a function, but behave like other...

[C] 큐

1 minute read

후입선출구조를 가지는 스택과는 다르게 큐는 데이터의 삽입과 삭제의 위치가 반대인 선입선출 구조이다. 즉 먼저 넣었던 데이터가 먼저 나오는 자료구조이다. 데이터를 꺼내오는 위치와 넣는 위치가 다르기 때문에 큐는 2개의 인덱스를 사용한다. 주로 front 와 rear로 명명하여 사용한...

[C] Queue

2 minute read

Unlike stacks that have a LIFO structure, a queue is a FIFO(first-input-first-output) structure in which the positions of insertion and deletion of data are ...

[C] 스택

1 minute read

스택은 말 그대로 데이터를 차곡차곡 쌓아 올린 형태의 자료구조이다. 상자 속에 책을 차례차례 쌓게되면 맨 밑의 책부터 빼내는 것이 불가능한 것 처럼 스택 역시 맨 위에서부터 접근하고 처리하는 자료구조이다. 이러한 자료구조는 가장 마지막에 삽입된 데이터가 가장 먼저 삭제되기 때문에 ...

[C] Stack

1 minute read

The stack is literally a data structure in the form of stacking data one by one. The stack is also a data structure that is accessed and processed from the t...