Skip to content

[Cyjin-jani] WEEK 03 solutions#2440

Open
Cyjin-jani wants to merge 5 commits intoDaleStudy:mainfrom
Cyjin-jani:main
Open

[Cyjin-jani] WEEK 03 solutions#2440
Cyjin-jani wants to merge 5 commits intoDaleStudy:mainfrom
Cyjin-jani:main

Conversation

@Cyjin-jani
Copy link
Contributor

@Cyjin-jani Cyjin-jani commented Mar 17, 2026

답안 제출 문제

작성자 체크 리스트

  • Projects의 오른쪽 버튼(▼)을 눌러 확장한 뒤, Week를 현재 주차로 설정해주세요.
  • 문제를 모두 푸시면 프로젝트에서 StatusIn Review로 설정해주세요.
  • 코드 검토자 1분 이상으로부터 승인을 받으셨다면 PR을 병합해주세요.

검토자 체크 리스트

Important

본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!

  • 바로 이전에 올라온 PR에 본인을 코드 리뷰어로 추가해주세요.
  • 본인이 검토해야하는 PR의 답안 코드에 피드백을 주세요.
  • 토요일 전까지 PR을 병합할 수 있도록 승인해주세요.

@juhui-jeong juhui-jeong self-requested a review March 17, 2026 08:30
@Cyjin-jani Cyjin-jani moved this from Solving to In Review in 리트코드 스터디 7기 Mar 20, 2026
Copy link
Contributor

@juhui-jeong juhui-jeong left a comment

Choose a reason for hiding this comment

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

한 주 동안 5문제를 모두 푸시다니, 정말 수고 많으셨습니다.
4주차도 파이팅입니다.🔥

Copy link
Contributor

Choose a reason for hiding this comment

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

저도 문자열을 정제 후, 반복문을 통해서 문제를 해결했습니다.
한번 푸신 후 좀 더 최적화된 풀이까지 작성하신 부분 멋집니다 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

string으로 처음에 풀이하신 후,
10진수를 2진수로 변환하는 방식으로 최적화 하신 점 좋습니다.

이 문제를 비트를 조작해서 풀어보시는 것도 추천드립니다!
풀이 방식이 다양하고, 재미있습니다.

시간복잡도나 공간복잡도 면에서는 비트로 풀어도 동일합니다.
다만, 실행 측면에서는 나눗셈보다 비트가 더 유리합니다.

시간이 부족하시면, 달레님 블로그 풀이를 참고하셔도 좋을 듯 합니다. 😄

Copy link
Contributor

Choose a reason for hiding this comment

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

백트래킹 쉽지 않네요. 저도..AI 도움을 많이 받았습니다. 🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants