코테 보기전에 휙 보려고 정리했던 글들 #해시를 사용한 집합과 맵 hash_set 오름차순 HashSet set = new HashSet(); ArrayList list = new ArrayList(); // 오름차순 Collections.sort(list); //내림차순 Collections.sort(list, Collections.reverseOrder()); // 대소문자 구분없이 오름차순 Collections.sort(list, String.CASE_INSENSITIVE_ORDER); HashMap과 HashSet의 차이 HashMap은 중복 Key 값을 허용하지 않지만, 중복 Value 값은 허용한다. ex. {'a': 1, 'b': 1, 'c': 2} HashSet은 객체 자체를 데이터로 저장..