코딩테스트 209

[Swift 알고리즘] LeetCode - 2181. Merge Nodes in Between Zeros

Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 Merge Nodes in Between Zeros - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 이번 문제는 링크드 리스트 문제로 탐색과 삽입을 모두 물..

코딩테스트 2022.07.28

[Swift 알고리즘] LeetCode 1302 - Deepest Leaves Sum

Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 Deepest Leaves Sum - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 1302 문제의 주의점은 leaf 노드가 아니라 최대 깊이의 노드의 합이라..

코딩테스트 2022.07.28

[Swift 알고리즘] LeetCode 1689 - Partitioning Into Minimum Number Of Deci-Binary Numbers

Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 Partitioning Into Minimum Number Of Deci-Binary Numbers - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 이번 문..

코딩테스트 2022.07.27

[Swift 알고리즘] 백준 BOJ - 2636 치즈

Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 2636번: 치즈 아래 과 같이 정사각형 칸들로 이루어진 사각형 모양의 판이 있고, 그 위에 얇은 치즈(회색으로 표시된 부분)가 놓여 있다. 판의 가장자리(에서 네모 칸에 X친 부분)에는 치즈가 놓 www.acmicpc.net 풀이 이번 문제는 BFS 문제입니다. 가장자리의 치즈는 1시간이 지나면 녹습니다. 모든 치즈가 녹는데 소요되는 시간과 모두 녹기 직전 남은 치즈의 수를 출력해야 합니다. while t..

코딩테스트 2022.07.07

[Swift 알고리즘] Codility - Triangle

안녕하세요. 개발 중인 정주입니다. 오늘은 "Codility - Triangle" 문제를 풀었습니다. Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 Triangle coding task - Learn to Code - Codility Determine whether a triangle can be built from a given set of edges. app.codility.com 풀이 이번 문제는 아래 조건을 만족하는 세 수가 있는지 확인하는 문제..

코딩테스트 2022.06.19

[Swift 알고리즘] Codility - MaxProductOfThree

안녕하세요. 개발 중인 정주입니다. 오늘은 "Codility - MaxProductOfThree" 문제를 풀었습니다. Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 MaxProductOfThree coding task - Learn to Code - Codility Maximize A[P] * A[Q] * A[R] for any triplet (P, Q, R). app.codility.com 풀이 이번 문제는 배열에서 랜덤한 세 개의 수를 곱했을 때의 ..

코딩테스트 2022.06.19

[Swift 알고리즘] Codility - Distinct

안녕하세요. 개발 중인 정주입니다. 오늘은 "Codility - Distinct" 문제를 풀었습니다. Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 Distinct coding task - Learn to Code - Codility Compute number of distinct values in an array. app.codility.com 풀이 이번 문제는 배열에서 고유한 값의 개수를 구하는 문제입니다. [1, 1, 2, 3, 3]이면 [1, 2..

코딩테스트 2022.06.19

[Swift 알고리즘] Codility - MinAvgTwoSlice

안녕하세요. 개발 중인 정주입니다. 오늘은 "Codility - MinAvgTwoSlice" 문제를 풀었습니다. Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 MinAvgTwoSlice coding task - Learn to Code - Codility Find the minimal average of any slice containing at least two elements. app.codility.com 풀이 이번 문제는 평균이 최소가 되는 구간..

코딩테스트 2022.06.18

[Swift 알고리즘] Codility - GenomicRangeQuery

안녕하세요. 개발 중인 정주입니다. 오늘은 "Codility - GenomicRangeQuery" 문제를 풀었습니다. Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 GenomicRangeQuery coding task - Learn to Code - Codility Find the minimal nucleotide from a range of sequence DNA. app.codility.com 풀이 이번 문제는 구간 안에 들어가 있는 DNA 값 중 ..

코딩테스트 2022.06.18

[Swift 알고리즘] Codility - CountDiv

안녕하세요. 개발 중인 정주입니다. 오늘은 "Codility - CountDiv" 문제를 풀었습니다. Github GitHub - jeongju9216/SwiftAlgorithm: 스위프트 알고리즘 스위프트 알고리즘. Contribute to jeongju9216/SwiftAlgorithm development by creating an account on GitHub. github.com 문제 링크 CountDiv coding task - Learn to Code - Codility Compute number of integers divisible by k in range [a..b]. app.codility.com 풀이 이번 문제는 A

코딩테스트 2022.06.18
반응형