반응형 전체 글136 [자료구조] Circular Queue Circular Queue Data StructureA circular queue is the extended version of a regular queue where the last element is connected to the first element. Thus forming a circle-like structure. The circular queue solves the major limitation of the normal queue. In a normal queue, after a bit of insertion and deletion, there will be non-usable empty space. Here, indexes 0 and 1 can only be used af.. 2024. 6. 20. [자료구조] Queue Queue Data StructureA queue is a useful data structure in programming. It is similar to the ticket queue outside a cinema hall, where the first person entering the queue is the first person who gets the ticket.Queue follows the First In First Out(FIFO) rule - the item that goes in first is the item that comes out first. In the above image, since 1 was kept in the queue before 2, it is the firs.. 2024. 6. 20. [MySQL] UPDATE 쿼리 시 에러코드 1175 처리 MySQL에서 제공하는 워크벤치를 설치하여 이용하는 경우에 update 시 이런 에러가 날 수 있다. 저 로그를 해석해보면 UPDATE에 대해서 안전 모드로 되어 있기 때문에 발생한 문제라고 한다. 따라서 안전모드(SAFE MODE)를 꺼주면 된다. 제일 간단한 방법은 옵션을 바꿔주는 명령어 하나만 샐행하면 된다. SET SQL_SAFE_UPDATES = 0; 그러면 update 쿼리가 실행된다. 2024. 6. 19. [자료구조] Stack Stack Data StructureA stack is a linear data structure that follows the principle of Last In First Out (LIFO).This means the last element inserted inside the stack is removed first.You chan think of the stack data struccture as the pile of plates on top of another. Here, you can:Put a new plate on top.Remove the top plate.And, if you want the plate at the bottom, you must first remove all the p.. 2024. 6. 18. 이전 1 ··· 3 4 5 6 7 8 9 ··· 34 다음 반응형