목록전체 글
Step-by-Step
HTTP Hyper Text Transfer Protocol 클라이언트와 서버 사이에 이루어지는 요청/응답 프로토콜 HTTP 상태 코드 클라이언트가 보낸 HTTP 요청에 대한 서버의 응답 코드 총 3자리 : 응답의 클래스(1자리) + 세부 상태(2자리) 로 구성 응답의 클래스 1xx (정보) : 요청을 받으면서 프로세스를 계속함 2xx (성공) : 요청을 성공적으로 받았으며 인식했고 수용함 3xx (리다이렉션) : 요청 완료를 위해 추가 작업 조치가 필요함 4xx (클라이언트 오류) : 요청의 문법이 잘못되었거나 요청을 처리할 수 없음 5xx (서버 오류) : 서버가 명백히 유효한 요청에 대해 충족을 실패함 1xx (조건부 응답) 상태코드 내용 설명 100 Continue 서버가 클라이언트로부터 요청을 ..
https://leetcode.com/problems/invert-binary-tree/ Invert Binary Tree - LeetCode Invert Binary Tree - Given the root of a binary tree, invert the tree, and return its root. Example 1: [https://assets.leetcode.com/uploads/2021/03/14/invert1-tree.jpg] Input: root = [4,2,7,1,3,6,9] Output: [4,7,2,9,6,3,1] Example 2: [https://assets.lee leetcode.com Easy.. 그만!! Medium 나왔으면 좋겠다😂 트리의 모든 레벨에서 좌우를 반전시켜주면..
https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters/ Longest Substring with At Least K Repeating Characters - LeetCode Longest Substring with At Least K Repeating Characters - Given a string s and an integer k, return the length of the longest substring of s such that the frequency of each character in this substring is greater than or equal to k. Example 1: Inpu..
https://leetcode.com/problems/minimum-distance-between-bst-nodes/ Minimum Distance Between BST Nodes - LeetCode Minimum Distance Between BST Nodes - Given the root of a Binary Search Tree (BST), return the minimum difference between the values of any two different nodes in the tree. Example 1: [https://assets.leetcode.com/uploads/2021/02/05/bst1.jpg] Input: root leetcode.com Tree를 DFS로 돌면서 val 값..
분명 프로젝트 초기 설정에서 lombok을 받았고, @Getter @Setter 어노테이션도 사용할 수 있었다 하지만 실제 사용시 해당 DTO 클래스에서 get, set 메소드를 인식할 수 없었고, 인터넷에 쳐보고 해결방법 찾음 (Mac OS 기준) 해결 1) lombok.jar 파일 다운로드 : https://projectlombok.org/download 2) jar 실행을 위한 Java 설치 [참조] https://sshh.tistory.com/33 // 터미널에서 다음 명령어 입력 brew tap AdoptOpenJDK/openjdk brew install --cask adoptopenjdk8 3) jar 실행 [참조] https://animal-park.tistory.com/302 - 터미널에서..

초기 실행시 발생하는 에러 - 데이터베이스 연결하기 위한 정보가 없음 *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Database 연결하기 위한 DataSource가 없어서 그렇다 해결 내가 쓴 예전 글을 참조해서 작성함 : https://smile-development.tistory..

📜이전📜 [4] 기획 - 플로우 차트 (Flow Chart) MySQL https://www.mysql.com/ MySQL Over 2000 ISVs, OEMs, and VARs rely on MySQL as their products' embedded database to make their applications, hardware and appliances more competitive, bring them to market faster, and lower their cost of goods sold. Learn More » www.mysql.com 가장 친숙한 RDBMS인 MySQL을 사용했으며, 터미널에서 HomeBrew 설치 > mysql 설치 순으로 진행하였다. ※ 참조 Database 네이밍..
https://leetcode.com/problems/add-binary/ Add Binary - LeetCode Can you solve this real interview question? Add Binary - Given two binary strings a and b, return their sum as a binary string. Example 1: Input: a = "11", b = "1" Output: "100" Example 2: Input: a = "1010", b = "1011" Output: "10101" Constraints: * leetcode.com 2진수 ↔ 10진수 (Binary to Decimal / Decimal to Binary) 방법은 쓰지말자 범위를 보면 오버플로..

https://leetcode.com/problems/naming-a-company/description/ Naming a Company - LeetCode Naming a Company - You are given an array of strings ideas that represents a list of names to be used in the process of naming a company. The process of naming a company is as follows: 1. Choose 2 distinct names from ideas, call them ideaA and ideaB. 2. Sw leetcode.com 이게 왜 Hard인지 첫 제출하고 느낀 문제 총 3가지로 시도했는데, 1..

📜이전📜 [3] 기획 - 데이터 모델링 (2) 테이블 작성 & DB Diagram 응답 표준을 작성에 앞서, Flow Chart 먼저 작성해 앱의 흐름을 파악하기로 했다 Flow Chart 순서도(영어 : flowchart)는 워크플로 혹은 프로세스를 보여주는 다이어그램의 한 종류 초안 개발을 하다 보면 추가할 부분도 생기고, 변경사항도 생길테지만 우선 초안은 다음과 같이 그려보았다 Draw.io로 깔끔하게 완성! 다음은 API 응답 표준, MySQL로 데이터베이스 구현!