https://leetcode.com/problems/max-consecutive-ones/Given a binary array nums, return the maximum number of consecutive 1's in the array.바이너리 배열 n
https://leetcode.com/problems/find-numbers-with-even-number-of-digits/Given an array nums of integers, return how many of them contain an even nu
https://leetcode.com/problems/squares-of-a-sorted-array/Given an integer array nums sorted in non-decreasing order, return an array of the square
매개변수 nums에 숫자가 주어지면 nums의 원소들을 이진수로 변환했을 때 1의 개수가 적은것부터 많은 것 순으로 정렬하여 반환하는 프로그램을 작성하세요.만약 nums = 5, 6, 7, 8, 9이고 이 원소들을 이진수로 변환하면5 --> 101 : 1이 2개6 --
자연수(양의 정수)와 0과 자연수에 -를 붙인 음의 정수를 포함한 모든 값을 말한다. 따라서, 그저 주어진 a와 b 범위 사이의 정수값을 더하면 되는 문제이다. 그런데, a와 b도 오름차순으로 주어진 게 아니다. 그래서 둘 중에 누가 큰지를 따져야한다.