일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
- Scaffold
- Sharding
- dip
- pub.dev
- flutter
- OAuth
- 코딩 테스트
- 연습문제
- Spring
- java
- Oidc
- depromeet
- Kafka
- 자료구조
- Kotlin
- 코딩
- C언어
- exception
- 운영체제
- AOP
- nGrinder
- 코드트리
- 디프만16기
- Redis
- kakao
- 디프만
- 부하 테스트
- c
- 코드 트리
- 코딩테스트
- Today
- Total
목록전체 글 (66)
Nick Dev
코틀린 공부를 하다가 서비스 계층에서 @Transactional을 붙이니깐 빨간 밑줄이 뜨며 클래스와 함수를 open 해야 한다고 뜬다. 왜 그럴까??⭐️ 바로 @Transactional의 동작 방식 때문이다! ⭐️✅ @Transactional의 동작 방식Spring은 이 어노테이션이 붙은 클래스나 메서드에 대해서 Spring AOP를 통해서 프록시를 생성한다Spring AOP는 원본 클래스를 상속받아서 메서드 앞 뒤로 트랜잭션 관련 로직을 추가한다하지만 코틀린은 기본적으로 모든 클래스와 메서드가 final이다 (자바와 반대)자바는 기본적으로 모두 상속 가능한 상태고 명시적으로 final 키워드를 붙여서 막는다final 클래스(메서드)는 상속(오버라이드)가 불가능하다그렇기 때문에 Intellij가 "야 ..
⭐️ 우선 간단하게 Optional로 리턴되던 걸 Elvis 연산자로 바꿔보자!❌ Java스러운 Optionalinterface UserRepository : JpaRepository { fun findByName(name: String) : Optional }// Java스러운 문법val user = userRepository.findByName(request.userName).orElseThrow(::IllegalArgumentException)이걸 kotlin 스럽게 바꿔보자!✅ koltin스러운 ? 연산자interface UserRepository : JpaRepository { fun findByName(name: String) : User? // 쿼리 결과가 없으면 n..
문제 링크https://www.codetree.ai/trails/complete/curated-cards/challenge-max-movements-with-direction/description Code Tree | Learning to Code with ConfidenceA super-comprehensive, meticulously arranged Coding Learning Curriculum engineered by Algorithm Experts composed of former International Olympiad in Informatics (IOI) medalists.www.codetree.ai 내 풀이import java.util.*;import java.io.*;public clas..
문제링크https://www.codetree.ai/trails/complete/curated-cards/challenge-yutnori-1d/description Code Tree | Learning to Code with ConfidenceA super-comprehensive, meticulously arranged Coding Learning Curriculum engineered by Algorithm Experts composed of former International Olympiad in Informatics (IOI) medalists.www.codetree.ai 내 풀이import java.util.*;public class Main { static int n; static ..
문제 링크[https://www.codetree.ai/trails/complete/curated-cards/test-calculations-with-alphabet/description]내 풀이import java.util.*;public class Main { static char[] input; static int size; static int max = Integer.MIN_VALUE; static Map map; static Set alph; static List list; // 알파벳에 숫자 매핑하기 static void recur(int idx) { if (idx == size) { int res = calcul..
문제 링크https://www.codetree.ai/missions/2/problems/strong-explosion?&utm_source=clipboard&utm_medium=text내 코드import java.util.*;import java.io.*;public class Main { // 폭탄 위치를 저장할 클래스 static class Point { int x; int y; Point(int x, int y) { this.x = x; this.y = y; } } // 2번 타입 폭탄용 dx, dy static int[] dxs = new int[] {1, 0, -1, 0}; ..
문제 링크https://www.codetree.ai/missions/2/problems/beautiful-number?&utm_source=clipboard&utm_medium=text내 코드import java.util.*;public class Main { static int n; static int ans = 0; static ArrayList list; static boolean isBeautilful() { for (int i = 0; i (); makeNum(0); System.out.println(ans); }}설명재귀함수를 통해서 1~4 숫자로 만든 n자리 수를 만든다각 숫자에 대해서 아름다운지 판단한다makeNum()가능한 ..
문제문제 링크https://www.codetree.ai/missions/2/problems/best-cross-shape-bomb?&utm_source=clipboard&utm_medium=text내 코드import java.util.*;public class Main { static int n; static int arr[][]; static int copy[][]; static int[] dxs = new int[] {1, 0, -1, 0}; static int[] dys = new int[] {0, 1, 0, -1}; public static void copy() { for (int i = 0; i = 0; i--) { if (..

15기 서류 탈락16기 서류 합격16기 최종 합격슬쩍 경쟁률까지..작성 이유나 또한, 이전 기수들의 합격 후기들을 토대로 자기소개서와 면접 준비를 진행했다.그 후기들을 모두 모아서 준비한 결과, 최종 합격했다.그래서 이후 지원자들에게도 조금이나마 도움이 됐으면 하는 바람에 작성해 본다..자랑도 맞긴 함1. 서류나는 서류에 정말 정성을 쏟아서 작성했다... 나름 간절했고 정말 하고 싶은 대외활동이라 정말 공들여서 작성했다16기 서버 파트의 서류 문항디프만에 지원을 하게 된 동기가 무엇인가요? 디프만을 통해 달성하고 싶은 목표와 그 실천 방안을 구체적으로 작성해 주세요. (600자)팀 프로젝트 혹은 업무를 진행하면서 팀원과의 의견 충돌을 어떻게 해결했는지에 대한 경험을 소개해 주세요. 그 상황을 어떻게 해결..

문제문제 링크https://www.codetree.ai/missions/2/problems/one-trial-of-2048-game?&utm_source=clipboard&utm_medium=text내 코드import java.util.*;import java.io.*;public class Main { public static void main(String[] args) throws IOException { // 여기에 코드를 작성해주세요. BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; int[][] grid = new int[..