Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chpater 16 수정중 #118

Open
wants to merge 3 commits into
base: fora22/Develop
Choose a base branch
from
Open

chpater 16 수정중 #118

wants to merge 3 commits into from

Conversation

fora22
Copy link
Owner

@fora22 fora22 commented Nov 4, 2021

33 퇴사

DP 개념을 잘 활용한 문제였던 것 같습니다. 책에 나와있는 Testcase가 4개나 되서 잘 풀은 줄 알았는데 백준에 돌려보니 IndexError가 뜨네요 ;;;

일단 4개 Testcase 가 잘 되서 올리는데, 다시 한번 풀어보겠습니다.

34 병사 배치하기

어떻게 풀지 전혀 모르겠어서 인터넷 검색 후에 LIS라는 알고리즘을 알게되었습니다. DP 문제를 LIS를 활용해 풀 수 있다고 하네요. 처음 들어본 알고리즘인데 수열 정렬 같은 문제에서 쓸 수 있지 않을까 싶었습니다.

@fora22 fora22 added Pull Request Pull Request Review Code Review labels Nov 4, 2021
@fora22 fora22 added this to the Coding Test milestone Nov 4, 2021
@fora22 fora22 requested review from jongfeel and JSY8869 November 4, 2021 06:47
@jongfeel
Copy link
Collaborator

jongfeel commented Nov 9, 2021

퇴사 문제를 같은 로직에 다른 언어로 바꿔서 백준에 돌려보시면 어떨까요?

@fora22
Copy link
Owner Author

fora22 commented Nov 10, 2021

퇴사 문제를 같은 로직에 다른 언어로 바꿔서 백준에 돌려보시면 어떨까요?

CPP로 풀어봤는데 틀렸다고 나오네요... 다른 코드들 참고하면서 다시 풀어보겠습니다.

@fora22 fora22 changed the title chpater 16 완료 chpater 16 수정중 Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pull Request Pull Request Review Code Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants