카드뭉치1 [프로그래머스] 카드 뭉치 Kotlin 안녕하세요. 이번에는 프로그래머스 카드 뭉치 문제를 풀어보려고 합니다. Problem https://school.programmers.co.kr/learn/courses/30/lessons/159994 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr Solution class Solution { fun solution(cards1: Array, cards2: Array, goal: Array): String { var cards1Index = 0 var cards2Index = 0 goal.forEach { if(cards1.size > cards1Inde.. 2024. 1. 2. 이전 1 다음 반응형