분류 전체보기 68

[Leetcode 아주 상세한 문제풀이] 208. Implement Trie (Prefix Tree) - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 208번 문제 Implement Trie (Prefix Tree) 다. 우선 문제를 살펴보자. 리트코드 208번 문제 Implement Trie (Prefix Tree) 링크 https://leetcode.com/problems/implement-trie-prefix-tree/ Implement Trie (Prefix Tree) - LeetCode Can you solve this real interview question? Implement Trie (Prefix Tree) - A trie [https://en.wikipedia.org/wiki/Trie] (pronounced as "try") or prefix tree is a tree data st..

Leetcode/Tree 2024.01.15

[Leetcode 아주 상세한 문제풀이] 104. Maximum Depth of Binary Tree - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 104번 문제 Maximum Depth of BInary Tree 다. 우선 문제를 살펴보자. 리트코드 104번 문제 Maximum Depth of BInary Tree 링크 https://leetcode.com/problems/maximum-depth-of-binary-tree/description/ Maximum Depth of Binary Tree - LeetCode Can you solve this real interview question? Maximum Depth of Binary Tree - Given the root of a binary tree, return its maximum depth. A binary tree's maximum d..

Leetcode/Tree 2024.01.14

CES 2024 참석 후기 그리고 개인 생각들

올해로 3년 연속 CES에 참석했다. 작년과 마찬가지로 이번에도 개인 소감을 남겨보고자 한다. 1. 눈에 띄게 증가한 AI use cases와 그 수익성에 대하여 작년과 비교해 AI use cases 들이 상당히 많아졌다. AI 기술을 접목하여 새로운 제품을 내놓은 회사들을 일일이 열거할 수 없다. 하지만 하나 확실한 것은 아직 AI 기술을 접목하여 어떻게 돈을 벌 수 있을지에 대한 명확한 답을 내놓은 회사는 없는 것 같다. AI 기술을 이용하여 새로운 제품이나 서비스를 만들어 낸 것은 분명 칭찬할 일이지만, 그것이 구독제든 enterprise 형태 든 수익화 시키기까지 아직 긴 여정이 남은 것 같다. 아직까지는 AI 관련하여 돈을 벌 수 있는 회사들은 AI 모델 들을 학습시키는데 필요한 컴퓨팅 능력을 ..

Others 2024.01.13

[Leetcode 아주 상세한 문제풀이] 102. Binary Tree Level Order Traversal – 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 102번 문제 Binary Tree Level Order Traversal 다. 우선 문제를 살펴보자. 리트코드 102번 문제 Binary Tree Level Order Traversal 링크 https://leetcode.com/problems/binary-tree-level-order-traversal/ Binary Tree Level Order Traversal - LeetCode Can you solve this real interview question? Binary Tree Level Order Traversal - Given the root of a binary tree, return the level order traversal of it..

Leetcode/Tree 2024.01.13

[Leetcode 아주 상세한 문제풀이] 105. Construct Binary Tree from Preorder and Inorder Traversal - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 105번 문제 Construct Binary Tree from Preorder and Inorder Traversal 이다. 우선 문제를 살펴보자. 리트코드 105번 문제 Construct Binary Tree from Preorder and Inorder Traversal 링크 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/description/ Construct Binary Tree from Preorder and Inorder Traversal - LeetCode Can you solve this real interview question..

Leetcode/Tree 2024.01.12

[Leetcode 아주 상세한 문제풀이] 98. Validate Binary Search Tree – 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 98번 문제 Validate binary search tree 다. 우선 문제를 살펴보자. 리트코드 98번 문제 Validate binary search tree 링크 https://leetcode.com/problems/validate-binary-search-tree/description/ Validate Binary Search Tree - LeetCode Can you solve this real interview question? Validate Binary Search Tree - Given the root of a binary tree, determine if it is a valid binary search tree (BST). A val..

Leetcode/Tree 2024.01.11

[Leetcode 아주 상세한 문제풀이] 79. Word Search – 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 19번 문제 Remove Nth Node From End of List 다. 우선 문제를 살펴보자. 리트코드 19번 문제 Remove Nth Node From End of List 링크 https://leetcode.com/problems/word-search/ Word Search - LeetCode Can you solve this real interview question? Word Search - Given an m x n grid of characters board and a string word, return true if word exists in the grid. The word can be constructed from letters o..

Leetcode/Matrix 2024.01.10

[Leetcode 아주 상세한 문제풀이] 73. Set Matrix Zeroes - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 73번 문제 Set Matrix Zeroes 다. 우선 문제를 살펴보자. 리트코드 73번 문제 Set Matrix Zeroes 링크 https://leetcode.com/problems/set-matrix-zeroes/ Set Matrix Zeroes - LeetCode Can you solve this real interview question? Set Matrix Zeroes - Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0's. You must do it in place [https://en.wikipedia.org/wiki/In..

Leetcode/Matrix 2024.01.09

[Leetcode 아주 상세한 문제풀이] 54. Spiral Matrix – 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 54번 문제 Spiral Matrix 다. 우선 문제를 살펴보자. 리트코드 54번 문제 Spiral Matrix 링크 https://leetcode.com/problems/spiral-matrix/ Spiral Matrix - LeetCode Can you solve this real interview question? Spiral Matrix - Given an m x n matrix, return all elements of the matrix in spiral order. Example 1: [https://assets.leetcode.com/uploads/2020/11/13/spiral1.jpg] Input: matrix = [[1,2,3],[4..

Leetcode/Matrix 2024.01.08

[Leetcode 아주 상세한 문제풀이] 48. Rotate Image - 코드 line 별 설명

Leetcode 설명 이번에 풀어볼 문제는 리트코드 48번 문제 Rotate Image 다. 우선 문제를 살펴보자. 리트코드 48번 문제 Rotate Image 링크 https://leetcode.com/problems/rotate-image/ Rotate Image - LeetCode Can you solve this real interview question? Rotate Image - You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate the image in-place [https://en.wikipedia.org/wiki/In-place_..

Leetcode/Matrix 2024.01.07