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

J 1545 해밀턴순환회로2 시간 초과 해결 방법 #7

Open
sanhaa opened this issue Apr 15, 2021 · 0 comments
Open

J 1545 해밀턴순환회로2 시간 초과 해결 방법 #7

sanhaa opened this issue Apr 15, 2021 · 0 comments
Labels
improvement How to improve other way Solve agian problem solving Good for newcomers

Comments

@sanhaa
Copy link
Owner

sanhaa commented Apr 15, 2021

  1. DP 테이블을 활용해서 이미 있는 값이면 바로 리턴하고 재귀 종료 하는 식으로 하는데 이건 시간이 빡빡해서 재귀 들어가기 전에 검사해서 이미 있는 값이면 재귀 호출을 안하게 해서 통과
  2. 반복문으로도 풀 수 있겠지?
@sanhaa sanhaa added other way Solve agian problem solving Good for newcomers improvement How to improve labels Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement How to improve other way Solve agian problem solving Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant