Skip to content

kyj 프로그래머스 키패드 누르기#174

Open
yongjun-0903 wants to merge 1 commit into
algorithm1313:mainfrom
yongjun-0903:05-18
Open

kyj 프로그래머스 키패드 누르기#174
yongjun-0903 wants to merge 1 commit into
algorithm1313:mainfrom
yongjun-0903:05-18

Conversation

@yongjun-0903
Copy link
Copy Markdown
Collaborator

📝 문제 정보

  • 문제 이름: 키패드 누르기
  • 출처: 프로그래머스

🚀 해결 방법

  • 왼손과 오른손의 위치를 저장하면서 2, 5, 8인 경우 상하좌우의 거리를 계산

📌 핵심 아이디어

  • 왼손 오른손 거리 계산

⏳ 시간 복잡도

  • O(n)

✅ 실행 결과

image

💡 기타 참고 사항

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.

1 participant