알고리즘 문제1 2] Leetcode 1470. Shuffle the Array Shuffle the Array - LeetCode 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 배열 안에 짝수개의 숫자들이 있고 그걸 반으로 나눠서 기준에 맞게 다시 정렬하는 문제다. class Solution { public: vector shuffle(vector& nums, int n) { vectorans; for(int i=0;i 2020. 6. 16. 이전 1 다음