[YoungSeok-Choi] week 3 solutions#1262
Merged
YoungSeok-Choi merged 6 commits intoDaleStudy:mainfrom Apr 19, 2025
Merged
Conversation
Contributor
|
week 2로 보입니다. |
Sung-Heon
reviewed
Apr 12, 2025
Comment on lines
+22
to
+38
| for(char c: s.toCharArray()) { | ||
| if(sMap.containsKey(c)) { | ||
| int cnt = sMap.get(c); | ||
| sMap.put(c, cnt + 1); | ||
| } else { | ||
| sMap.put(c, 1); | ||
| } | ||
| } | ||
|
|
||
| for(char c: t.toCharArray()) { | ||
| if(tMap.containsKey(c)) { | ||
| int cnt = tMap.get(c); | ||
| tMap.put(c, cnt + 1); | ||
| } else { | ||
| tMap.put(c, 1); | ||
| } | ||
| } |
Contributor
There was a problem hiding this comment.
for (int i = 0; i < s.length(); i++) {
이렇게 하고 한번 순회할때 양쪽 다 체크하면 o(n)에서 끝날수있을것 같네요.
n!=m인 경우는 이미 처음에 false로 리턴하니까요.
Contributor
Author
week 2 작업들이 아직 어프를 받지 못해 Merge가 되지 못한 상황이라 diff가 잡히는 현상입니다..! |
Sung-Heon
approved these changes
Apr 12, 2025
soobing
approved these changes
Apr 13, 2025
Contributor
|
안녕하세요! 먼저 approve가 늦어서 죄송합니다 :( 제가 개인적으로 급한일이 생겨서 머지가 되더라도 이따가 저녁에 코드는 살펴보고 리뷰 남기도록하겠습니다. |
Contributor
Author
혹시.. 아래의 PR에 대한 승인을 해주실 수 있을까요!! |
7d4ca1b to
0a28c5f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!