목록분류 전체보기 (284)
기어가더라도 제대로
UIScrollView 내부에 컨텐트뷰를 담고 있다. 일반적으로 프로퍼티를 선언해야 사용할 수 있다. 원래 사용법 self.scrollview.contentSize = CGSize(width: , height:) 디버거 사용법 $po self.view.perform("recursiveDescription") // 함수로 호출 $po self.view.value(for key: recursiveDescription) // 속성으로 호출 ScrollView 만드는 순서 ``` UIScrollView.init() self.scrollview.contentSize = CGSize() UIView 추가, label -> contentsView (1000, 1000) content layout guide 연결 (l..
1. 이진트리 탐색을 순차 탐색으로 변경 https://leetcode.com/problems/increasing-order-search-tree/ Increasing Order Search Tree - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 소감 이진 탐색 트리를 어떻게 조회하는지 모르겠다. 문제의 해답을 1시간 30분 고민 끝에 봤는데, 자바와 파이썬으로 이루어진 코드여서 그냥 닫았다. 댓글 중에 "이건 미디엄 난이도라고 생각한다"는 글이 눈에 띈다...