문제 풀이 코드 63

[Leetcode 아주 상세한 문제풀이] 424. Longest Repeating Character Replacement - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 42번 문제 Longest Repeating Character Replacement 다. 우선 문제를 살펴보자. 리트코드 42번 문제 Longest Repeating Character Replacement 링크 https://leetcode.com/problems/longest-repeating-character-replacement/ Longest Repeating Character Replacement - LeetCode Can you solve this real interview question? Longest Repeating Character Replacement - You are given a string s and an integer k. ..

Leetcode/String 2024.01.05

[Leetcode 아주 상세한 문제풀이] 242. Valid Anagram - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 242번 문제 Valid Anagram 다. 우선 문제를 살펴보자. 리트코드 242번 문제 Valid Anagram 링크 https://leetcode.com/problems/valid-anagram/ Valid Anagram - LeetCode Can you solve this real interview question? 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 o..

Leetcode/String 2024.01.04

[Leetcode 아주 상세한 문제풀이] 125. Valid Palindrome - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 125번 문제 Valid Palindrome 이다. 우선 문제를 살펴보자. 리트코드 125번 문제 Valid Palindrome 링크 https://leetcode.com/problems/valid-palindrome/ Valid Palindrome - LeetCode Can you solve this real interview question? Valid Palindrome - A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the same ..

Leetcode/String 2024.01.03

[Leetcode 아주 상세한 문제풀이] 76. Minimum Window Substring - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 76번 문제 Minimum window substring 이다. 우선 문제를 살펴보자. 리트코드 76번 문제 Minimum window substring 링크 Minimum Window Substring - LeetCode Minimum Window Substring - LeetCode Can you solve this real interview question? Minimum Window Substring - Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (inclu..

Leetcode/String 2024.01.02

[Leetcode 아주 상세한 문제풀이] 49. Group Anagrams - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 49번 문제 Group Anagrams 다. 우선 문제를 살펴보자. 리트코드 49번 문제 Group Anagrams 링크 Group Anagrams - LeetCode Group Anagrams - LeetCode Can you solve this real interview question? Group Anagrams - Given an array of strings strs, group the anagrams together. You can return the answer in any order. An Anagram is a word or phrase formed by rearranging the letters of a different word or..

Leetcode/String 2024.01.01

[Leetcode 아주 상세한 문제풀이] 20. Valid Parenthesis - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 20번 문제 Valid Parenthesis 다. 우선 문제를 살펴보자. 리트코드 20번 문제 Valid Parenthesis 링크 Valid Parentheses - LeetCode Valid Parentheses - LeetCode Can you solve this real interview question? Valid Parentheses - Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: 1. Open brackets must b..

Leetcode/String 2023.12.31

[Leetcode 아주 상세한 문제풀이] 5. Longest Palindromic Substring - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 5번 문제 Longest Palindromic Substring 다. 우선 문제는 다음과 같다. 리트코드 5번 문제 Longest Palindromic Substring 링크 Palindromic Substrings - LeetCode Palindromic Substrings - LeetCode Can you solve this real interview question? Palindromic Substrings - Given a string s, return the number of palindromic substrings in it. A string is a palindrome when it reads the same backward as forwa..

Leetcode/String 2023.12.30

[Leetcode 아주 상세한 문제풀이] 206. Reverse Linked List - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 206번 문제 Reverse Linked List 다. 우선 문제를 살펴보자. 리트코드 206번 문제 Reverse Linked List 링크 Reverse Linked List - LeetCode Reverse Linked List - LeetCode Can you solve this real interview question? Reverse Linked List - Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: [https://assets.leetcode.com/uploads/2021/02/19/rev1ex1.jpg] I..

[Leetcode 아주 상세한 문제풀이] 143. Reorder List – 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 19번 문제 Remove Nth Node From End of List 다. 우선 문제를 살펴보자. 리트코드 19번 문제 Remove Nth Node From End of List 링크 Reorder List - LeetCode Reorder List - LeetCode Can you solve this real interview question? Reorder List - You are given the head of a singly linked-list. The list can be represented as: L0 → L1 → … → Ln - 1 → Ln Reorder the list to be on the following form: L0 → L..