본문 바로가기 메뉴 바로가기

Daniel's blog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Daniel's blog

검색하기 폼
  • 분류 전체보기 (366)
    • 경제(Economy) (15)
      • The Economist Espresso (10)
    • 기술(Tech, IT) (333)
      • 깃(Git) (1)
      • 네트워크 (Networking) (19)
      • 데이터베이스(Database) (9)
      • 리트코드(LeetCode) (38)
      • 머신 러닝(Machine Learning) (43)
      • 소프트웨어 품질 (Software Quality .. (2)
      • 안드로이드(Android) (15)
      • 알고리즘(Algorithm) (14)
      • 웹(Web) (4)
      • 인터뷰 (Interview) (3)
      • 임베디드 (Embedded) (42)
      • 자바(Java) (17)
      • 컴퓨터 그래픽스 (Computer Graphics.. (24)
      • 컴퓨터 비전 (Computer Vision) (5)
      • 파이썬(Python) (25)
      • C++ (23)
      • etc. (47)
    • 바이오(Biology) (1)
    • 서평(Book Review) (2)
    • 영어(English) (5)
    • 상식 및 기타(Common Sense and et.. (9)
  • 방명록

2023/07/11 (1)
[LeetCode] 70. Climbing Stairs

n이라는 input이 주어졌고 이는 계단의 높이로 계단은 한 번에 한 개 혹은 두 개를 오를 수 있고, 가장 높은 계단에 오를 수 있는 경우의 수를 구하는 것이다. 아래 제공된 솔루션은 한 개와 두 개를 오를 때 필요한 개수를 조합해 각 개수에 따른 경우의 수(number of cases)를 구해 하나씩 더해 나가는 것이다. You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?. Example 1: Input: n = 2 Output: 2 Explanation: There..

기술(Tech, IT)/리트코드(LeetCode) 2023. 7. 11. 06:03
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 안드로이드
  • 오블완
  • 이코노미스트 에스프레소
  • 파이썬
  • tf-idf
  • socket programming
  • ml
  • 이코노미스트
  • Hash Map
  • Computer Graphics
  • 투 포인터
  • 티스토리챌린지
  • 딕셔너리
  • DICTIONARY
  • Android
  • 소켓 프로그래밍
  • join
  • C++
  • Python
  • The Economist
  • java
  • vertex shader
  • 머신 러닝
  • leetcode
  • machine learning
  • min heap
  • defaultdict
  • The Economist Espresso
  • I2C
  • 리트코드
more
«   2023/07   »
일 월 화 수 목 금 토
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
글 보관함
반응형

Blog is powered by Tistory / Designed by Tistory

티스토리툴바