목록전체 글 (374)
Silver Library (Archived)
Difference between Hard Copy and Soft Copy - GeeksforGeeks A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions. www.geeksforgeeks.org Summary: Soft copy occupies the specific memory (node), and this can be varied. Hard copy occupies the sp..
정렬문제의 정의 - n개의 숫자를 입력 받아 입력 받은 숫자들을 점점 커지는 순서나 점점 작아지는 순서로 다시 배열하여 출력하는 문제. 선택정렬 알고리즘 - 정렬문제를 푸는 컴퓨터 알고리즘 중의 하나로 현재 상황에서 가장 작거나 가장 큰 숫자를 선택하여 재배치하는 아이디어로 정렬문제를 해결하며 시간복잡도는 ceta(n^2)
Description. Given two integers num1 and num2, return the sum of the two integers. Example 1: Input: num1 = 12, num2 = 5 Output: 17 Explanation: num1 is 12, num2 is 5, and their sum is 12 + 5 = 17, so 17 is returned. Example 2: Input: num1 = -10, num2 = 4 Output: -6 Explanation: num1 + num2 = -6, so -6 is returned. Constraints: -100