소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an array of integers stones where stones[i] is the weight of the ith stone. We are playing a game with the stones. On each turn, we choose the heaviest two stones and smash them together. Suppose the heaviest two stones have weights x and y with x test(new int[]{1, 3}, 2) ); } private void test(int[] given, int expected) { // when Solution solut..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 1c525c5) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 1c525c5 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 스터디 배너 이미지 사용 여부와 사용할 경우 이미지를 변경할 수 있는 기능을 구현합니다. 엔드포인트 추가 배너 관련 페이지 진입 및 업데이트를 할 수 있도록 StudySettingsController 클래스에 엔드포인트를 추가합..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an integer array arr, and an integer target, return the number of tuples i, j, k such that i < j < k and arr[i] + arr[j] + arr[k] == target. As the answer can be very large, return it modulo 10^9 + 7. Example 1: Input: arr = [1,1,2,2,3,3,4,4,5,5], target = 8 Output: 20 Explanation: Enumerating by the values (arr[i], arr[j], arr[k]): (1, 2, 5) occurs 8 t..
)) 본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 207c09b) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 207c09bℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 이번 포스팅 부터는 스터디 설정 기능을 차례대로 구현합니다. 먼저 소개 수정 기능을 구현합니다. 이전에 구현했던 프로필 설정(수정)과 유사합니다. 엔드포인트 추가 스터디 설정 뷰로 진입할 수 있는 StudySettingsCo..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). Find two lines that together with the x-axis form a container, such that the container contains the most water. Return the maximum amount of water a container can store. Notice that you may not slant th..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given the head of a linked list, and an integer k. Return the head of the linked list after swapping the values of the kth node from the beginning and the kth node from the end (the list is 1-indexed). Example 1: Input: head = [1,2,3,4,5], k = 2 Output: [1,4,3,2,5]Example 2: Input: head = [7,9,6,6,7,8,3,0,9,5], k = 5 Output: [7,9,6,6,8,7,3,0,9,5]Const..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: bd04b9d) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout bd04b9d ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 스터디 구성원 조회 기능을 구현합니다. 여태까지 계속 해왔던 것이기 때문에 자세한 설명은 생략하겠습니다. 엔드포인트 추가 스터디 조회 화면에서 구성원 메뉴를 클릭했을 때 관련 페이지로 이동하도록 컨트롤러를 수정해줍니다. /src..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 0eb765a) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 0eb765a ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 스터디 조회 기능을 구현합니다. 기능 구현 후 쿼리 튜닝을 진행합니다. 엔드포인트 수정 이전 포스팅에서 스터디 생성 후 생성된 스터디 화면으로 들어갔을 때 구현된 뷰가 없어서 에러가 발생했었는데요, 해당 뷰로 이동할 수 있게 컨..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 927a89d) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 927a89d ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 스터디 개설 기능을 구현합니다. 엔드포인트 추가 스터디 관련 기능을 제어할 엔드포인트를 생성합니다. /src/main/java/io/lcalmsky/app/study/endpoint/StudyController.java pack..
최근에 퇴사 및 이직이 결정되면서, 지금까지 커리어를 정리해보고 싶은 마음이 생겼습니다. 저와 비슷하신 분들도, 그렇지 않은 분들도 계시겠지만, 커리어 상승을 꿈꾸는 분들께 도움이 됐으면 하는 마음에 최대한 솔직하게 작성할 예정입니다. 본 편은 컴퓨터 전공자라면 한 번쯤은 경험했을 법한 질풍노도의 시기와 그것을 어떻게 극복하게 되었는지를 적은 글입니다. 대학생활의 시작 힘겹게 대학에 합격했지만, 수능 100일 전부터 너무 불태운 나머지 보상심리가 발동해 대학 때는 더 공부를 안 하기 시작했습니다. 저 때부터 "요즘은 1학년도 공부를 왜 이렇게 열심히 해?"라는 말이 심심치 않게 들리던 시점인데 저는 그렇게 열심히 하지 못했습니다. 첫 번째 이유로, 재수를 했지만 빠른 년생이었던 저는 형 대접을 받고싶어 ..
- Total
- Today
- Yesterday
- Spring Boot
- Spring Boot JPA
- JPA
- spring boot application
- intellij
- Java
- gRPC
- 알고리즘
- proto3
- spring boot jwt
- 헥사고날 아키텍처
- QueryDSL
- 스프링 부트 튜토리얼
- r
- 클린 아키텍처
- Jackson
- leetcode
- Spring Data JPA
- Spring Boot Tutorial
- 스프링 부트 애플리케이션
- spring boot app
- 함께 자라기 후기
- 스프링부트
- @ManyToOne
- Linux
- JSON
- 스프링 부트
- 스프링 데이터 jpa
- 스프링 부트 회원 가입
- 함께 자라기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |