오름차순 정렬된 정수(int) 배열이 주어짐. 중복된 숫자들이 있는데 하나씩 남도록 제거해야함. 오름차순은 유지해야함. 추가로 배열을 만들지 않고 풀어야함. 중복제거된 숫자들의 개수를 반환해야함.나의 첫 시도 방법은 중복된 숫자들만 999로 만들었다. 그리고 정렬하고
nums 란 int 배열에서 int val 의 숫자만 제거하기제거된 숫자 이외의 남은 숫자들은 nums 배열 앞에서부터 배치되게 한다.배치 순서는 상관 없다. 배열의 크기는 변경할 수 없다. 추가로 배열을 할당해서 풀 수 없다. nums를 수정해야 한다.남은 숫자의 개
Given an integer array nums, return all the triplets \[numsi, numsj, numsk] such that i != j, i != k, and j != k, and numsi + numsj + numsk == 0.Notic
Given two strings s and p, return an array of all the start indices of p's anagrams in s. You may return the answer in any order.An Anagram is a word
There are numBottles water bottles that are initially full of water. You can exchange numExchange empty water bottles from the market with one full wa
https://leetcode.com/problems/running-sum-of-1d-array/description/
https://leetcode.com/problems/add-two-numbers/c++
https://leetcode.com/problems/median-of-two-sorted-arrays/description/
https://leetcode.com/problems/longest-palindromic-substring/