Refactoring_UUID to make unique order number
✅ Mid Feedback Instead of using Random to make unique order number, why not use UUID? ✅ UUID Universally Unique Identifier 128-bit long number in hex characters separated by “-“ example: ...
✅ Mid Feedback Instead of using Random to make unique order number, why not use UUID? ✅ UUID Universally Unique Identifier 128-bit long number in hex characters separated by “-“ example: ...
✅ Mid-Feedback results 1️⃣ What if there are 100 users buying the same item at the same time? 2️⃣ What if there is 0 product left? 3️⃣ What if the product is not sold anymore? 4️⃣ What if the use...
🔑 최단거리 알고리즘 키워드 BFS(레벨탐색)는 (이진트리를 포함한 상태트리에서) 주로 최단거리 알고리즘에 사용됨 최단거리 알고리즘 키워드: “최소 횟수인 거리” ✅ 송아지 찾기 현수의 위치와 송아지의 위치가 수직선상의 좌표 점으로 주어지면 현수는 현재 위치에서 송아지의 위치까지 다음과 같은 방법으로 이동한다. 한번의 점프로 각각 앞...
✅ Think about what ifs, and its exceptions 재고처리를 장바구니, 주문할 때 모두 해야 한다. TTL을 사용하면 장바구니에 담은 후 10분 지나면 사라지도록 ✅ UUID https://offbyone.tistory.com/303 👍🏻 Result: https://soheeparklee.github.io/post...
💡 Things I learned ✔️ Shell 커널과 사용자 간의 다리 역할을 하는 인터페이스 사용자로부터 명령을 받아 실행하는 역할 ✔️ SSH Secure SHell 원격 컴퓨터에 접속하기 위해 사용되는 보안 프로그램 👍🏻 강력한 암호화 기능을 구현해 모든 데이터가 암호화되어 높은 보안을 지원한다는 장점 암호화를 ...
🔵 ThingsILearned ✔️ BFS는 QUQUE로 작동함. Queue는 Last in First out. ✅ BFS 탐색하기 class Node{ int data; Node lt, rt; public Node(int value){ data= value; lt= rt= null; ...
🔵 ThingsILearned ✔️ 부분집합의 개수는 2^ 공집합 빼면 2^-1 ✅ 부분집합 구하기 n이 입력되면 부분집합을 구하세요. 단, 공집합은 출력하지 않습니다. //⭐️input: 3 //⭐️output: 1 2 3 1 2 1 3 1 2 3 2 3 🟢 코드 class Main { static int n; ...
✅ DFS: Depth First Search Stack structure Explore all subtree before going onto next 🆚 BFS: Breadth First Search queue data start at root, explore neighbors at present depth prior to mo...
🔵 ThingsILearned ✔️ 메모이제이션 컴퓨터 프로그램이 동일한 계산을 반복해야 할 때, 이전에 계산한 값을 메모리에 저장함으로써 동일한 계산의 반복 수행을 제거하여 프로그램 실행 속도를 빠르게 하는 기술 동적 계획법의 핵심이 되는 기술 https://soheeparklee.github.io/posts/DS-memoizati...
✅ AWS S3 Simple Storeage Servce, 주로 파일 서버로 사용 ⭐️ Scalability: S3는 트래픽이 증가함에 따라 서버 인프라, 용량 변경을 대신 처리해 줌 ⭐️ Durability: 여러 영역에 데이터 복사본을 저장해 한 영역이 다운되어도 데이터 복구 가능 Bucket: 다수의 객체를 관리하는 컨테이너, ...