소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given a string s and an integer k, a k duplicate removal consists of choosing k adjacent and equal letters from s and removing them, causing the left and the right side of the deleted substring to concatenate together. We repeatedly make k duplicate removals on s until we no longer can. Return the final string after all such duplicate removals have be..
잘 다니고 있는 안정적인 회사를 왜 그만두고 스타트업으로 가냐고 한 달 가까이 아내와 씨름했었는데, 겨우 설득에 성공하고 이직한 지 4주 차.. 첫 3일 정도를 제외하고는 전 회사가 생각조차 나질 않습니다. 그 이유를 하나씩 나열해보려고 합니다. 회사나 사람이 특정될 수 있기 때문에 약간의 각색이 들어가있습니다. 커뮤니케이션 방식 이전 회사에 있을 때, 어떤 업무를 위해 슬랙으로 A팀의 담당자 B에게 DM을 보내면 높은 확률로 "그건 C팀 일입니다" 또는 "D님에게 문의해보세요" 등의 답이 돌아왔습니다. 그래서 C팀의 누군가에게 동일하게 물어보면 "그건 저희 팀 E님이 알고 계실 거에요"라는 답이 오고, E님에게 물어보면 "그거 A팀 일인데요?"라는 답이 오고.. 핑퐁을 엄청나게 주고받은 뒤에야 겨우 해..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Find all valid combinations of k numbers that sum up to n such that the following conditions are true: Only numbers 1 through 9 are used. Each number is used at most once. Return a list of all possible valid combinations. The list must not contain the same combination twice, and the combinations may be returned in any order. Example 1: Input: k = 3, n = 7 Out..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 6e10ea8) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 6e10ea8 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임 목록 조회 기능을 구현합니다. Endpoint 추가 스터디 화면의 모임 탭으로 라우팅해 줄 엔드포인트를 EventController에 추가합니다. /src/main/java/io/lcalmsky/app/event/endpo..
Global User git을 사용하기 위해서는 이름과 이메일 주소를 설정해야 합니다. 이 정보가 없으면 커밋을 생성할 수 없습니다. global user란 로컬 git 전체에 설정되는 사용자 정보를 말합니다. 아래 명령어를 통해 설정할 수 있습니다. > git config --global user.name "jaime" > git config --global user.email "lcalmsky@gmail.com" 잘 설정되었는지 확인하기 위해서는 아래 명령어를 사용합니다. > git config --list user.name=Jungmin Lee user.email=jaime.lee@jobis.co Repository별 Author 설정 특정 Repository에서 다른 작성자로 기여해야 하는 경우 ..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order. A mapping of digit to letters (just like on the telephone buttons) is given below. Note that 1 does not map to any letters. Example 1: Input: digits = "23" Output: ["ad","ae","af","bd","be","bf","cd","ce..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an integer array nums, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in ascending order. Return the shortest such subarray and output its length. Example 1: Input: nums = [2,6,4,8,10,9,15] Output: 5 Explanation: You need to sort [6, 4, 8, 10, 9] in ascending order to ..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: ae5f443) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout ae5f443 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임 조회 기능을 구현합니다. 엔드포인트 추가 모임 조회 화면을 보여줄 엔드포인트를 EventController에 추가합니다. /src/main/java/io/lcalmsky/app/event/endpoint/EventContr..
본 포스팅은 마틴 파울러의 원글을 번역한 것입니다. 의역 및 오역(사실상 발번역)이 있을 수 있으므로 원글로 읽어보시는 것을 권장합니다. 발번역에 대해 적극적/공격적 피드백 환영입니다 🤩 Mock이라는 용어는 테스트를 위해 실제 객체를 모방한 특수한 객체를 설명하는 데 널리 사용되었습니다. 현재 대부분의 언어 환경에는 Mock 객체를 쉽게 생성하기 위한 프레임워크가 있습니다. 그러나 Mock 객체는 특수한 경우의 테스트를 가능하게하는 하나의 형태에 불과하다는 것을 우리는 종종 깨닫지 못하곤 합니다. 이 글에서는 Mock 객체가 어떻게 작동하는지, 어떻게 동작 검증 기반 테스트를 장려하는지, 관련된 커뮤니티에서 다른 스타일의 테스트를 개발하기 위해 Mock 객체를 어떻게 사용하는지를 설명합니다. Mock이..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an integer array nums and an integer k. In one operation, you can pick two numbers from the array whose sum equals k and remove them from the array. Return the maximum number of operations you can perform on the array. Example 1: Input: nums = [1,2,3,4], k = 5 Output: 2 Explanation: Starting with nums = [1,2,3,4]: - Remove numbers 1 and 4, then ..
- Total
- Today
- Yesterday
- intellij
- 함께 자라기 후기
- 스프링 부트 회원 가입
- 스프링 부트 애플리케이션
- 스프링 부트
- QueryDSL
- Linux
- Spring Boot JPA
- Jackson
- spring boot app
- JPA
- r
- 클린 아키텍처
- 함께 자라기
- spring boot application
- gRPC
- 알고리즘
- Spring Boot Tutorial
- JSON
- 스프링부트
- @ManyToOne
- proto3
- 스프링 데이터 jpa
- spring boot jwt
- 스프링 부트 튜토리얼
- 헥사고날 아키텍처
- Spring Data JPA
- Spring Boot
- leetcode
- Java
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |