• Skip to primary navigation
  • Skip to content
  • Skip to footer
SW Yoo's note SW Yoo's note Whoever knocks presistently, ends by entering.
  • Category
  • Tag
  • Search
    1. Home
    2. /
    3. Programming
    4. /
    5. Python
    6. /
    7. Codingtest
    8. /
    9. 11/16 2xn 타일링
    • Computer Science
      • Category
      • Tag

    11/16 2xn 타일링

    2023-11-16 최대 1 분 소요

    On This Page

    https://school.programmers.co.kr/learn/courses/30/lessons/12900

    .

    내 풀이

    def solution(n):
        tiles = [0 for _ in range(n)]
        tiles[0], tiles[1] = 1, 2
        for i in range(2, n) :
            tiles[i] = (tiles[i - 2] + tiles[i - 1]) % 1000000007
        return tiles[-1]
    

    프로그래머스 2 x n 타일링

    태그: codingTest, Programming, python

    카테고리: codingTest, Programming, python

    업데이트: 2023-11-16

    공유하기

    Twitter Facebook LinkedIn
    이전 다음

    댓글남기기

    참고

    [LLM] Mercury Coder

    2025-07-25 최대 1 분 소요

    개요

    [LLM] Self-RAG : Learning To Retrieve, Generate, and Critique Through Self-Reflection

    2025-07-25 1 분 소요

    Self-RAG

    [llm] 파인튜닝 기법

    2025-07-25 7 분 소요

    layout: single title: "[LLM] 해부학 PDF 질의응답 RAG W17-20" categories: [Programming, LLM, RAG, Project] tag: [Programming, LLM, RAG, Project] toc: true author_pr...

    [LLM] MCP(Model Context Protocol)

    2025-07-25 1 분 소요

    개요

    • 팔로우:
    • GitHub
    • 피드
    © 2025 SW Yoo. Powered by Jekyll & Minimal Mistakes.