(JAVA) 99클럽 코테 스터디 1일차 TIL [Stream().mapToInt와 toArray의 차이] / 프로그래머스 [베스트앨범]
·
💜 코딩테스트/💜프로그래머스
#HashMap #클래스 #Comparable #Stream #mapToInt 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr toArray() vs mapToInt(Integer::inValue).toArray() 차이 toArray(): 반환값이 Object라서 형변환시 int[]이런 식으로 특정 형변환이 보장Ximport java.util.*;class Solution { static class playListManager implements Comparable { int count; List playList; ..