본문 바로가기

분류 전체보기

(2352)
(Python3) - LeetCode (Easy) : 3536. Maximum Product of Two Digits https://leetcode.com/problems/maximum-product-of-two-digits Maximum Product of Two Digits - LeetCodeCan you solve this real interview question? Maximum Product of Two Digits - You are given a positive integer n. Return the maximum product of any two digits in n. Note: You may use the same digit twice if it appears more than once in n. Example 1: Inputleetcode.com구현 문제였습니다📕 풀이방법📔 입력 및 초기화📑 입..
(Python3) - LeetCode (Medium) : 3867. Sum of GCD of Formed Pairs https://leetcode.com/problems/sum-of-gcd-of-formed-pairs Sum of GCD of Formed Pairs - LeetCodeCan you solve this real interview question? Sum of GCD of Formed Pairs - You are given an integer array nums of length n. Construct an array prefixGcd where for each index i: * Let mxi = max(nums[0], nums[1], ..., nums[i]). * prefixGcd[i] = gcd(nums[i], mxleetcode.com유클리드 gcd 구현해보고 자료구조와 정렬해보는 문제였습니다.📕..
2026-07-10 금 보호되어 있는 글입니다.
2026-07-04 보호되어 있는 글입니다.
2026-07-03 보호되어 있는 글입니다.
2026-07-02 보호되어 있는 글입니다.
(Rust) - LeetCode (Easy) : 3120. Count the Number of Special Characters I https://leetcode.com/problems/count-the-number-of-special-characters-i Count the Number of Special Characters I - LeetCodeCan you solve this real interview question? Count the Number of Special Characters I - You are given a string word. A letter is called special if it appears both in lowercase and uppercase in word. Return the number of special letters in word. Example 1leetcode.comvector 자료..
(Rust) - LeetCode (Medium) : 1391. Check if There is a Valid Path in a Grid https://leetcode.com/problems/check-if-there-is-a-valid-path-in-a-grid Check if There is a Valid Path in a Grid - LeetCodeCan you solve this real interview question? Check if There is a Valid Path in a Grid - You are given an m x n grid. Each cell of grid represents a street. The street of grid[i][j] can be: * 1 which means a street connecting the left cell and the right cellleetcode.com기존의 단순 b..