반응형 Single Number1 136. Single Number 136. Single Number LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 두개씩 중복된 숫자 배열이 있는데 혼자 있는 숫자 를 찾아서 리턴하라는 문제 /** * @param {number[]} nums * @return {number} */ var singleNumber = function(nums) { nums.sort(); //소팅하고 if(num.. 2024. 2. 22. 이전 1 다음 반응형