본문 바로가기
반응형

분류 전체보기167

[LeetCode 해석 및 풀이] 1. Two Sum LeetCode 문제 해석 및 풀이 방법 문제 1. Two Sum (두개 합) 바로가기 문제 설명 영문 Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. 한글 숫자로 된 배열이 주어지면, 두개를 더해서 target이 되는 index를 반환합니다. 각 입력에는 정확히 하나의 해답이.. 2024. 4. 11.
[LeetCode 해석 및 풀이] 242. Valid Anagram LeetCode 문제 해석 및 풀이 방법 문제 242. Valid Anagram (유효한 아나그) 바로가기 문제 설명 영문 Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once. 한글 두 문자열 s와 t를 입력받고, t가 s의 아나그램이면 True, 아니면 False를 반환하세요. 아나그램이란 일반적으로 모든 원래 문자를 정확히 한 번 사용하여.. 2024. 4. 11.
[LeetCode 해석 및 풀이] 217. Contains Duplicate LeetCode 문제 해석 및 풀이 방법 문제 217. Contains Duplicate(중복 포함) 바로가기 문제 설명 영문 Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct. 한글 정수 배열이 주어졌을 때, 값이 2번 이상 나타나면 true, 모든 요소가 다르면 false를 반환하세요. 제한조건 1 2024. 4. 11.
Neetcode 코딩 테스트 로드맵 https://neetcode.io/roadmap 해당 로드맵대로 Leetcode를 풀어볼 예정 2024. 4. 11.
'android.package' 찾을 수 없을 때 오류 문구 CommandError: Required property 'android.package' is not found in the project app.json. This is required to open the app 해결방법 최신 버전이 아닌 이전 버전 사용하기 .https://velog.io/@bian87/expo-%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-%EC%97%90%EB%AE%AC%EB%A0%88%EC%9D%B4%ED%84%B0-AppRegistry.registerComponent-wasnt-called.-%EC%97%90%EB%9F%AC-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95 2024. 3. 15.
[백준] 1437 - 수 분해 문제 : 1437 - 수 분해 바로가기 문제 설명 음이 아닌 정수 N을 한 개 이상의 음이 아닌 정수의 합으로 나타낼 때, 이를 "N을 분해한다"라고 부르자. 예를 들어, 4 = 1+1+1+1 = 1+1+2 = 1+3 = 2+2 = 4 로 나눌 수 있다. 분해 곱이란 N을 분해해서 나타난 수들을 전부 곱한 것을 의미한다. N=4일 때, 분해 곱은 다음과 같다. 4 = 1+1+1+1, 곱 : 1×1×1×1 = 1 4 = 1+1+2, 곱 : 1×1×2 = 2 4 = 1+3, 곱 : 1×3 = 3 4 = 2+2, 곱 : 2×2 = 4 4 = 4, 곱 : 4 N이 주어졌을 때, 그 수의 분해 곱의 최댓값을 구하는 프로그램을 작성하시오. 입력 첫째 줄에 음이 아닌 정수 N이 주어진다. N은 1,000,000보다 .. 2023. 5. 22.
반응형