반응형

  
return answer.stream()
.mapToInt(Integer::intValue)
.toArray();

 

흠... 아직 자료구조와 스트림에 대한 공부가 더 필요한 것 같다.

반응형

+ Recent posts