πŸš€ Growth/TIL

[TIL] 2024λ…„ 11μ›” 11일

devCloud 2024. 11. 12. 14:13
728x90

파이썬

단어 쀑볡 체크 μ‹œ μ‹œκ°„λ³΅μž‘λ„

 

list vs set 자료ꡬ쑰

λ¦¬μŠ€νŠΈμ—μ„œμ˜ in 연산은 O(n)의 μ‹œκ°„μ΄ μ†Œμš”λ˜κ³ , set μžλ£Œκ΅¬μ‘°λŠ” O(1)의 μ‹œκ°„μ΄ μ†Œμš”λœλ‹€. λ”°λΌμ„œ 쀑볡 체크 μ‹œ setλ₯Ό μ‚¬μš©ν•˜μ—¬ μ½”λ“œλ₯Ό μž‘μ„±ν•˜λŠ” 것이 더 νš¨μœ¨μ μ΄λ‹€.

 

 


πŸ“œ μž‘μ„±ν•œ κ²Œμ‹œκΈ€

[Programmers μ½”λ”©ν…ŒμŠ€νŠΈ L2. 짝지어 μ œκ±°ν•˜κΈ°] πŸ‘‰ https://dev-cloud.tistory.com/398

 

[Programmers μ½”λ”©ν…ŒμŠ€νŠΈ L2. 카펫] πŸ‘‰ https://dev-cloud.tistory.com/399

 

[Programmers μ½”λ”©ν…ŒμŠ€νŠΈ L1. ν‘Έλ“œ 파이트 λŒ€νšŒ] πŸ‘‰ https://dev-cloud.tistory.com/400

 

[Programmers μ½”λ”©ν…ŒμŠ€νŠΈ L2. 점프와 μˆœκ°„ 이동] πŸ‘‰ https://dev-cloud.tistory.com/401

 

[Programmers μ½”λ”©ν…ŒμŠ€νŠΈ L2. μ˜μ–΄ λλ§μž‡κΈ°] πŸ‘‰ https://dev-cloud.tistory.com/402

 


728x90

'πŸš€ Growth > TIL' μΉ΄ν…Œκ³ λ¦¬μ˜ λ‹€λ₯Έ κΈ€

[μŠ€ν”„λ§] 2025-07-02  (1) 2025.07.02
[TIL] 2024λ…„ 11μ›” 14일  (1) 2024.11.15
[TIL] 2024λ…„ 11μ›” 10일  (0) 2024.11.11
[TIL] 2024λ…„ 11μ›” 09일  (0) 2024.11.10
[TIL] 2024λ…„ 11μ›” 08일  (2) 2024.11.09