-
프로그래머스 | 없는 숫자 더하기코딩 테스트/프로그래머스 2022. 7. 11. 17:16
public class Solution { public int solution(int[] numbers) { int answer = 45; for (int tmp : numbers) { answer -= tmp; } return answer; } }
'코딩 테스트 > 프로그래머스' 카테고리의 다른 글
프로그래머스 | 자연수 뒤집어 배열로 만들기 (0) 2022.07.15 프로그래머스 | 모의고사 (0) 2022.07.11 프로그래머스 | 정수 제곱근 판별 (0) 2022.07.11 프로그래머스 | 서울에서 김서방 찾기 (0) 2022.07.11 프로그래머스 | 핸드폰 번호 가리기 (0) 2022.07.11