Understanding UIControl in Swift

When I study how to make button programmatically, I found to write UIControl.state for setTitle and setTitleColor, and to write UIControl.event for addTarget.

2 min read

[Python] 백준 5557 1학년

DP로 풀수 있는 문제이다. 처음에 문제를 복잡하게 풀었었고(하지만 일반적으로 경로를 찾을 때 쓰는 방법) 메모리 초과에 걸렸다. 추후에 더 간단하게 푸는 방법을 찾을 수 있었다.

1 min read