Skip to content

BOJ20291_파일_정리_실버3_권은홍 #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Conversation

96Hong2
Copy link
Owner

@96Hong2 96Hong2 commented Feb 13, 2024

  1. TreeMap extMap 생성(키:확장자명, 값:횟수), N 받아서 N개의 파일명 받기
  2. 받은 파일명을 .을 기준으로 split하여 [1]번째 항목을 String ext로 받기
  3. extMap.put(ext, extMap.getOrDefault(ext, 0) + 1)
  4. extMap의 key value 출력

@DHLemonade
Copy link
Collaborator

DHLemonade commented Feb 13, 2024

자바에서의 해쉬는 정말 어렵네요. 잘 봤읍니다

@96Hong2 96Hong2 merged commit 1c6351b into main Feb 18, 2024
@96Hong2 96Hong2 deleted the BOJ20291_권은홍 branch February 18, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants