Skip to content

Conversation

jungmyunggi
Copy link
Collaborator

문제

Type Info
Time Complexity
Space Complexity O(1)
Algorithm Triangular Number
Data Structure x

Constraints

  • 1 <= n <= 1000

Edge Case

  • x

풀이

  1. 숫자를 1부터 N까지 1씩 증가시켜가며 find함수에 넣는다.
  2. x+x-1+x-2...+1을 만족하는 최소의 숫자를 찾는다.

어려웠던 점

  • 이진검색으로 찾으려 시도했었는데 계란 개수가 제한적이여서 실패했다.
  • 삼각수 공식을 처음봐서 이해가 안되어서 오래걸렸다.

알게된 점

@jungmyunggi jungmyunggi self-assigned this Feb 8, 2025
@github-actions github-actions bot enabled auto-merge (squash) February 16, 2025 01:37
@github-actions github-actions bot merged commit 5bfd552 into main Feb 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant