공부/코딩테스트
코딩 테스트 공부
Tip 개인 적인 내용 입니다. - 자바 데이터 타입 프리미티브 타입, 레퍼런스 타입 둘중 프리미티브 타입이 속도가 더 빠릅니다. int > Integer 둘중 int 가 더 빠릅니다. 프리미티브 타입 ( Primitive type ) 스택 stack 메모리 저장 int, long, double, float, boolean, byte, short, char 레퍼런스 타입 ( Reference type ) 스택 stack 메모리 참조 -> 힙 heap 메모리 저장 Integer, Long, Double, Float, Boolean, Byte, Short, Char String.charAt(i), String.toCharArray() String.split("") StringBuffer , StringBui..
2024. 3. 20. 12:54