Algorithm/Implementation (750) 썸네일형 리스트형 (C++) - LeetCode (easy) 872. Leaf-Similar Trees https://leetcode.com/problems/middle-of-the-linked-list/description/ Middle of the Linked List - LeetCode Can you solve this real interview question? Middle of the Linked List - Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle node. Example 1: [https://assets.leetcode. leetcode.com 자료구조에 대한 이해를 토대로 구현한 문제였습.. (C++) - LeetCode (easy) 872. Leaf-Similar Trees https://leetcode.com/problems/leaf-similar-trees/description/ Leaf-Similar Trees - LeetCode Can you solve this real interview question? Leaf-Similar Trees - Consider all the leaves of a binary tree, from left to right order, the values of those leaves form a leaf value sequence. [https://s3-lc-upload.s3.amazonaws.com/uploads/2018/07/16/tree.png leetcode.com tree순회를 구현하는 문제였습니다. 📕 풀이방법 📔 입력 및 초기화.. (C++) - LeetCode (easy) 867. Transpose Matrix https://leetcode.com/problems/transpose-matrix/description/ Transpose Matrix - LeetCode Can you solve this real interview question? Transpose Matrix - Given a 2D integer array matrix, return the transpose of matrix. The transpose of a matrix is the matrix flipped over its main diagonal, switching the matrix's row and column indices. [https:// leetcode.com 📕 풀이방법 📔 입력 및 초기화 matrix의 행을 열로 열을 행으로 2.. (C++) - LeetCode (easy) 860. Lemonade Change https://leetcode.com/problems/lemonade-change/description/ Lemonade Change - LeetCode Can you solve this real interview question? Lemonade Change - At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you and order one at a time (in the order specified by bills). Each customer will only buy one lemonade leetcode.com 구현 문제였습니다. 📕 풀이방법 📔 입력 및 초기화 5, 10, 20짜리 지.. (C++) - LeetCode (easy) 836. Rectangle Overlap https://leetcode.com/problems/rectangle-overlap/description/ Rectangle Overlap - LeetCode Can you solve this real interview question? Rectangle Overlap - An axis-aligned rectangle is represented as a list [x1, y1, x2, y2], where (x1, y1) is the coordinate of its bottom-left corner, and (x2, y2) is the coordinate of its top-right corner. Its top leetcode.com 분기문을 사용해보는 문제였습니다. 📕 풀이방법 📔 입력 및 초기화 1.. (C++) - LeetCode (easy) 832. Flipping an Image https://leetcode.com/problems/flipping-an-image/description/ Flipping an Image - LeetCode Can you solve this real interview question? Flipping an Image - Given an n x n binary matrix image, flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means that each row of the image is reversed. * F leetcode.com 구현 문제였습니다. 📕 풀이방법 📔 풀이과정 요구사항 그대로 구현해줍.. (C++) - LeetCode (easy) 830. Positions of Large Groups https://leetcode.com/problems/positions-of-large-groups/description/ Positions of Large Groups - LeetCode Can you solve this real interview question? Positions of Large Groups - In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string like s = "abbxxxxzyy" has the groups "a", "bb", "xxxx", "z", and leetcode.com 구현 문제였습니다. 📕 풀이방법 📔 입력 .. (C++) - LeetCode (easy) 819. Most Common Word https://leetcode.com/problems/shortest-distance-to-a-character/description/ Shortest Distance to a Character - LeetCode Can you solve this real interview question? Shortest Distance to a Character - Given a string s and a character c that occurs in s, return an array of integers answer where answer.length == s.length and answer[i] is the distance from index i to the closest leetcode.com 구현 문제였습니.. 이전 1 ··· 36 37 38 39 40 41 42 ··· 94 다음