Dev Hyeri

전체 465

[영국영어] miss the obvious 명백한 것을 놓치다 (+ 예문)

miss the obvious명백한 것을 놓치다    You're missing the obvious, mate.뻔한 걸 놓치고 있어.Am I?뭘?This bug is driving me crazy. I can't figure out what's wrong.이 버그 때문에 미치겠어. 뭐가 문제인지 모르겠네.You forgot to close the bracket here. Easy to miss the obvious sometimes.여기 괄호 닫는 걸 잊었네. 가끔은 너무 당연한 걸 빼먹기 쉬워.We spent hours looking for the error in the code.코드에서 오류를 찾느라 몇 시간을 보냈어.It was just a missing semicolon. We totally m..

[백준] 2908 상수 (설명/코드/정답)

문제 링크 : https://www.acmicpc.net/problem/2908    1. 요구 사항 이해시간, 메모리 제한 : 1초 / 128MB1~9로 이루어진 세 자리 수 두개 입력세자리 수를 역순으로 재배열재배열한 수 중 더 큰쪽을 출력   2. 설계/검증 함수화Scanner scan = new Scanner(System.in)String num1 = scan.next();String num2 = scan.next();num1 num2 역순으로 재배열비교하여 큰쪽 출력 복잡도시간 복잡도 최악의 경우 공간 복잡도O(1) O(1)      3. 정상 코드import java.util.Scanner;public class Main { public static void main(String[] ar..

[영국영어] nest 둥지, 보금자리 (+ 예문)

nest둥지, 보금자리    I noticed you've nested several loops in your code. Is that intentional?네 코드에 여러 개의 루프가 중첩된 걸 봤어. 의도한 거야?Yes, but I'm worried it might affect performance. What do you think?응, 그런데 성능에 영향을 줄까 봐 걱정이야. 어떻게 생각해?Why is the function call nested so deeply?왜 함수 호출이 그렇게 깊이 중첩되어 있어?It's part of a recursive algorithm. I'm trying to optimize it.그게 재귀 알고리즘의 일부야. 최적화하려고 노력 중이야.I love how cozy ..

[영국영어] obituary 신문의 부고란(+ 예문)

obituary/əˈbɪtʃuəri/신문의 부고란    He's stealing the identity of corpses, getting their names from the obituary columns.신문의 부고란에서 이름을 따와 고인들의 신분을 도용했다.Have you heard about the passing of the founder of our company?우리 회사 창립자의 죽음에 대해 들었어?Yes, I read his obituary yesterday. He built such an incredible legacy.응, 어제 그의 부고를 읽었어. 그는 정말 대단한 유산을 남겼어.The obituary for our project lead was in the company newsle..

[영국영어] You've let your food go cold 음식이 식게 내버려두다(+ 예문)

You've let your food go cold음식이 식게 내버려두다    Mate, you've let your food go cold while you were explaining that new feature.이봐, 새 기능 설명하느라 음식이 다 식었어.Ah, I didn't realize. Thanks for pointing it out. I'll eat it now.아, 몰랐네. 고마워. 이제 먹어야지.Hey, your lunch is still on your desk. You've let your food go cold.야, 점심 아직도 책상 위에 있네. 다 식었는걸.Yeah, I got caught up in this new feature implementation.응, 새로운 기능 구현..

[영국영어] just got chatting 어쩌다 보니 대화하게 되다 (+ 예문)

just got chatting어쩌다 보니 대화하게 되다    We just got chatting on the bus.버스에서 어쩌다 보니 이야기하게 됐어.You seemed to get along well with the new intern.너는 새로운 인턴과 잘 어울리는 것 같아 보였어.Yeah, we just got chatting about our favorite programming languages during the coffee break.응, 커피 브레이크 동안 우리가 좋아하는 프로그래밍 언어에 대해 이야기하게 됐어.How did you end up collaborating with the marketing team?마케팅 팀과 어떻게 협업하게 됐어?I met one of their le..

[영국영어] came up to someone 접근했다 (+ 예문)

came up to someone(예상치 못했는데)접근했다    Came up to me in a pub.술집에서 접근하더라고요.While I was troubleshooting in the office, the CTO came up to me and asked about my progress.사무실에서 문제 해결 중일 때, CTO가 와서 진행 상항을 물어봤어.That mush have been a bit nerve-wracking. What did you say?좀 떨렸겠다. 뭐라고 했어?During the conference, a recruiter came up to me and offered a job on the spot.콘퍼런스에서 리크루터가 나에게 다가와 그 자리에서 바로 일자리를 제안했어.W..

[백준] 1152 단어의 개수 (설명/코드/정답)

문제 링크 : https://www.acmicpc.net/problem/1152   1. 요구 사항 이해시간, 메모리 제한 : 2초 / 128MB영어 대소문자와 공백으로 이루어진 문자열 ( 문자열의 길이는 1,000,000을 넘지 않는다 )문자열을 구성하는 단어의 개수를 세는 프로그램중복은 염두하지 않는다.    2. 설계/검증 함수화// 입력을 위한 객체 생성Scanner scan = new Scanner(System.in)String S = scna.nextLine();문자열 S 길이 유효성 검사S 내부에 " " 빈칸이 몇개인지 세고 +1 출력   3. 정상 코드import java.util.Scanner;public class Main { public static void main(String..

[백준] 2675 문자열 반복 (설명/코드/정답)

문제 링크 : https://www.acmicpc.net/problem/2675    1. 요구 사항 이해시간, 메모리 제한 : 1초 / 128 MB문자열 S를 입력받고 각 문자를 R반복하여 새 문자열 P를 만든 후 출력하는 프로그램 테스트 케이스의 개수 T(1 ≤ T ≤ 1,000)테스트 케이스는 반복 횟수 R(1 ≤ R ≤ 8)S의 길이는 적어도 1이며, 20글자를 넘지 않는다.  2. 설계/검증 함수화// 입력을 위한 객체 생성 Scanner scan = new Scanner(System.in);// 테스트 케이스 개수 Tint T = scan.nextInt();(1 ≤ T ≤ 1,000) 유효성 검사 코드 // 테스트 케이스 반복 횟수int R = scan.nextInt();(1 ≤ R ≤ 8) ..

[백준] 10809 알파벳 찾기 (설명/코드/정답)

문제 링크 : https://www.acmicpc.net/problem/10809    1. 요구 사항 이해시간, 메모리 제한 : 1초 / 256MB알파벳 소문자로 이루어진 단어 S(S >= 100)a ~ z를 순서대로 나열하는데, 알파벳이 S에 포함되어 있으면 인덱스 출력 아니면 1을 출력 (인덱스는 0부터 시작)    2. 설계/검증 함수화for(알파벳 순회){ 해당 알파벳의 초기값은 -1 for(문자열 순회){ 만약 해당 알파벳과 같으면 문자열의 인덱스를 반환 }} 복잡도시간 복잡도 최악의 경우 공간 복잡도O(N) O(1)     3. 정상 코드import java.util.Scanner;public class Main { p..