본문 바로가기

김경록의 앱 개발 여정

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

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

목록2025/04/10 (1)

김경록의 앱 개발 여정

[Swift 백준] 1269 대칭 차집합

풀이두 집합 a,b 에서(a - b).count + (b-a).count 를 구하는 문제입니다.Swift에서 여집합을 구하는 함수는 'subtract()'와 'subtracting()' 입니다.둘의 차이점은 subtractsubtracting원본 변형새로운 집합 return이니 편의를 위해 'subtracting'을 사용해줍니다 let nm = readLine()!.split(separator: " ").map{Int($0)!}let a = Set(readLine()!.split(separator: " ").map{Int($0)!})let b = Set(readLine()!.split(separator: " ").map{Int($0)!})let aCount = a.subtracting(b).countle..

Algorithm 2025. 4. 10. 11:00
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바

개인정보

  • 티스토리 홈
  • 포럼
  • 로그인

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.