-
[Leetcode] 387. First Unique Character in a String {Day 6 String} (In Python)[Python] 파이썬/Leetcode_14Days plan for DataStructure 2021. 12. 1. 01:05
코드들은 https://github.com/Eastar-DS/Python/tree/main/14%20Days%20Study%20Plan%20about%20Data_Structure에도 있습니다
처음으로 반복되지 않는 스트링의 인덱스를 반환하는 함수.
Conter와 enumerate를 이용해 손쉽게 구한다.
'[Python] 파이썬 > Leetcode_14Days plan for DataStructure' 카테고리의 다른 글
[Leetcode] 242. Valid Anagram {Day 6 String} (In Python) (0) 2021.12.01 [Leetcode] 383. Ransom Note {Day 6 String} (In Python) (0) 2021.12.01 [Leetcode] 74. Search a 2D Matrix {Day5 Array} (In Python) (0) 2021.11.28 [Leetcode] 36. Valid Sudoku {Day5 Array} (In Python) (0) 2021.11.28 [Leetcode] 566. Reshape the Matrix {Day4 Array} (In Python) (0) 2021.11.28