Skip to content

[Week1]sw_전화번호 목록#2

Merged
IGhost-P merged 1 commit intoweek1_hash_swfrom
week_sw_전화번호-목록
Jun 13, 2023

Hidden character warning

The head ref may contain hidden characters: "week_sw_\uc804\ud654\ubc88\ud638-\ubaa9\ub85d"
Merged

[Week1]sw_전화번호 목록#2
IGhost-P merged 1 commit intoweek1_hash_swfrom
week_sw_전화번호-목록

Conversation

@IGhost-P
Copy link
Copy Markdown
Member

@IGhost-P IGhost-P commented Jun 7, 2023

Result

image

Commnet

  • JS가 없어서 최근 공부하는 C++로 풀었습니다. 최신 문법인 C++19 이상은 사용하지 않고 for문을 돌렸는데, 이터러블한 for of를 쓰는것도 좋았을것 같습니다.

알고리즘 풀이
@IGhost-P IGhost-P changed the title sw_전화번호 목록 [Week1]sw_전화번호 목록 Jun 7, 2023
Copy link
Copy Markdown
Contributor

@kimseungdeok kimseungdeok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c++ 문법은 오랜만에 보는데 비슷한듯 다른게 신기합니다 ㅎㅎ
로직은 제가 풀었던 것과 비슷한거같아요.
많이 배워갑니다!🤩

Comment on lines 23 to 32
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반복문을 돌때 현재 번호의 길이보다 다름 전화번호의 길이가 짧은 경우만 순회하게 한다면 더욱 더 좋을것같다는 생각이 듭니다~

@IGhost-P IGhost-P merged commit 6dde6dc into week1_hash_sw Jun 13, 2023
@IGhost-P IGhost-P deleted the week_sw_전화번호-목록 branch June 13, 2023 14:11
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