전체 글 (2344) 썸네일형 리스트형 (C++) - LeetCode (easy) 448. Find All Numbers Disappeared in an Array 구현 문제였습니다. https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/description/ Find All Numbers Disappeared in an Array - LeetCode Can you solve this real interview question? Find All Numbers Disappeared in an Array - Given an array nums of n integers where nums[i] is in the range [1, n], return an array of all the integers in the range [1, n] that do not appear in nums. Example .. (C++) - LeetCode (easy) 441. Arranging Coins https://leetcode.com/problems/arranging-coins/description/ Arranging Coins - LeetCode Can you solve this real interview question? Arranging Coins - You have n coins and you want to build a staircase with these coins. The staircase consists of k rows where the ith row has exactly i coins. The last row of the staircase may be incomplete. Give leetcode.com 구현 문제였습니다. 📕 풀이방법 📔 입력 및 초기화 정답 ans를 선언해줍니.. (C++) - LeetCode (easy) 434. Number of Segments in a String https://leetcode.com/problems/number-of-segments-in-a-string/description/ (Python) - LeetCode (easy) 415. Add Strings https://leetcode.com/problems/add-strings/description/ Add Strings - LeetCode Can you solve this real interview question? Add Strings - Given two non-negative integers, num1 and num2 represented as string, return the sum of num1 and num2 as a string. You must solve the problem without using any built-in library for handling large in leetcode.com bigint 연산을 지원하는 python을 이용해 해결했습니다. 📕 풀이방법 📔 풀이과정 .. (C++) - LeetCode (easy) 414. Third Maximum Number https://leetcode.com/problems/third-maximum-number/description/ Third Maximum Number - LeetCode Can you solve this real interview question? Third Maximum Number - Given an integer array nums, return the third distinct maximum number in this array. If the third maximum does not exist, return the maximum number. Example 1: Input: nums = [3,2,1] Outp leetcode.com set을 이용해 푼 문제였습니다. 📕 풀이방법 📔 풀이과정 1... (Window) - powershell내 script 실행 명령 시 오류 🍳머리말 powershell로 script 실행시 뜨는 오류 해결 방법입니다. 📕설명 📔 배경 ts-node를 npm으로 설치하고 version을 확인하는 명령어인 ts-node -v 를 쳤는데 error가 났습니다. 📔 원인 이 error는 PowerShell의 실행 정책 때문에 발생하는 문제로, 기본적으로 스크립트 실행 권한이 제한되어 있기 때문입니다. 이 문제를 해결하기 위해서는, PowerShell의 실행 정책을 변경해야 합니다. 다음 명령어를 실행하여 PowerShell의 실행 정책을 변경할 수 있습니다. 📔 해결 다음 명령어로 해결 가능합니다. Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted 위 명령어를 실행하면, 현재.. (C++) - LeetCode (easy) 412. Fizz Buzz https://leetcode.com/problems/fizz-buzz/description/ Fizz Buzz - LeetCode Can you solve this real interview question? Fizz Buzz - Given an integer n, return a string array answer (1-indexed) where: * answer[i] == "FizzBuzz" if i is divisible by 3 and 5. * answer[i] == "Fizz" if i is divisible by 3. * answer[i] == "Buzz" if i is leetcode.com 구현 문제였습니다. 📕 풀이방법 📔 입력 및 초기화 정답 vector ans를 선언해줍니다. 📔 풀.. (C++) - LeetCode (easy) 409. Longest Palindrome https://leetcode.com/problems/longest-palindrome/description/ Longest Palindrome - LeetCode Can you solve this real interview question? Longest Palindrome - Given a string s which consists of lowercase or uppercase letters, return the length of the longest palindrome that can be built with those letters. Letters are case sensitive, for example, leetcode.com 자료구조를 이용한 문제였습니다. 📕 풀이방법 📔 입력 및 초기화 1... 이전 1 ··· 79 80 81 82 83 84 85 ··· 293 다음