본문 바로가기

김경록의 앱 개발 여정

검색하기
김경록의 앱 개발 여정
프로필사진 Kim Roks

  • 분류 전체보기 (85)
    • TIL (32)
    • Algorithm (41)
    • Trouble Shooting (12)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/03   »
일 월 화 수 목 금 토
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
Tags
  • traits
  • button configuration
  • BFS
  • coordinator
  • custom ui
  • RxSwift
  • reactorkit
  • task cancel
  • Tuist
  • claen architecture
  • 타임라인 포맷팅
  • uikit toast
  • DP
  • custom navigation bar
  • swift custom ui
  • domain data
  • swift navigationcontroller
  • identifiable
  • swift bottomsheet
  • 버튼 피드백
  • swift dashed line
  • task cancellation
  • rxdatasources
  • swift 점선
  • SWIFT
  • UIKit
  • swift concurrency
  • swift 백준
  • custombottomsheet
  • scene delegate
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2025/03/05 (1)

김경록의 앱 개발 여정

[Swift 백준] 16173 점프왕 쩰리 (Small)

https://www.acmicpc.net/problem/16173 풀이 아이디어그래프 탐색 문제입니다bfs를 선호하지만 연습을 위해 재귀를 활용한 dfs로 풀이했습니다.두 방향으로만 이동가능하며 그래프를 넘어가면 즉시 종료시켰습니다.풀이 import Foundationlet n = Int(readLine()!)!var graph = [[Int]]()for _ in 0.. Bool { if x = n || y >= n || visited[x][y] { return false } if graph[x][y] == -1 { return true } visited[x][y] = true let jump = graph[x][y] ..

Algorithm 2025. 3. 5. 22:32
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바