자연수(양의 정수)와 0과 자연수에 -를 붙인 음의 정수를 포함한 모든 값을 말한다. 따라서, 그저 주어진 a와 b 범위 사이의 정수값을 더하면 되는 문제이다. 그런데, a와 b도 오름차순으로 주어진 게 아니다. 그래서 둘 중에 누가 큰지를 따져야한다.
필자 .exe 파일로 다운 next 버튼 설치 경로 선택 인텔리제이 설치 옵션 선택 후 next 버튼 [옵션 정리] Create Desktop Shortcut : 바탕화면 바로가기 생성 여부 Update Path Variable : 윈도우 환경 변수에 자동으로
클린코드로 유명한 로버트 마틴이 정리한 좋은 객체 지향 설계의 5가지 원칙SRP : 단일 책임 원칙(single responsibility principle)OCP : 개방-폐쇄 원칙(Open/closed principle)LSP : 리스코프 치환 원칙(Liskov s
매개변수 nums에 숫자가 주어지면 nums의 원소들을 이진수로 변환했을 때 1의 개수가 적은것부터 많은 것 순으로 정렬하여 반환하는 프로그램을 작성하세요.만약 nums = 5, 6, 7, 8, 9이고 이 원소들을 이진수로 변환하면5 --> 101 : 1이 2개6 --
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
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/max-consecutive-ones/Given a binary array nums, return the maximum number of consecutive 1's in the array.바이너리 배열 n