최근 포스트

[LeetCode] Valid Mountain Array

2 분 소요

Question Given an array of integers arr, return true if and only if it is a valid mountain array. Recall that arr is a mountain array if and only if: ...

[LeetCode] Check If N and Its Double Exist

1 분 소요

Question Given an array arr of integers, check if there exists two integers N and M such that N is the double of M ( i.e. N = 2 * M). 리스트의 요소들 중에, (한 요소)*2를...

[LeetCode] Remove Element

1 분 소요

Question Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may be changed. S...

[LeetCode] Merge Sorted Array

1 분 소요

Question You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in n...