Algorithm1 7] Leetcode 1365. How Many Numbers Are Smaller Than the Current Number 숫자로 이뤄진 벡터내에 각 벡터값보다 작은 값의 갯수를 반환하는 문제. How Many Numbers Are Smaller Than the Current Number - 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 역시 이중 for문을 통해 해결했다. class Solution { public: vector smallerNumbersThanCurrent(vector& nums) { vectorans; int cnt = 0; for(int i=0; i 2020. 6. 21. 이전 1 다음