Merged
Conversation
JustDevRae
approved these changes
Jan 14, 2025
Collaborator
JustDevRae
left a comment
There was a problem hiding this comment.
수고 많으셨습니다. 작성하신 코드들이 간결하고 직관적이여서 리뷰하기 편했습니다!
Comment on lines
+16
to
+20
| for (const [key, value] of Object.entries(englishObj)) { | ||
| if (numbers.includes(key)) { | ||
| answer = answer.replaceAll(key, value); | ||
| } | ||
| } |
Collaborator
There was a problem hiding this comment.
오 해쉬로도 풀 수 있군요.. 배워갑니다!
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.
📌 푼 문제
📝 간단한 풀이 과정
문자열뒤집기
주어진 문자열을 배열로 변환하여 뒤집은 후 join메서드로 다시 문자열로 만들었습니다.
컨트롤 제트
영어가 싫어요
hash를 이용하여 푸는 방법말고는 떠오르지 않아서 어떤 방법으로 스택을 활용할지는 모르곘습니다..!
문자열 계산하기
공백을 기준으로 나누었으며 스택 push, pop을 활용하는데 초점을 두어서 reverse()메서드를 활용함으로써 연산순서를 맞추었습니다
크레인 인형 뽑기 게임