본문 바로가기 메뉴 바로가기

Daniel's blog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Daniel's blog

검색하기 폼
  • 분류 전체보기 (366)
    • 경제(Economy) (15)
      • The Economist Espresso (10)
    • 기술(Tech, IT) (333)
      • 깃(Git) (1)
      • 네트워크 (Networking) (19)
      • 데이터베이스(Database) (9)
      • 리트코드(LeetCode) (38)
      • 머신 러닝(Machine Learning) (43)
      • 소프트웨어 품질 (Software Quality .. (2)
      • 안드로이드(Android) (15)
      • 알고리즘(Algorithm) (14)
      • 웹(Web) (4)
      • 인터뷰 (Interview) (3)
      • 임베디드 (Embedded) (42)
      • 자바(Java) (17)
      • 컴퓨터 그래픽스 (Computer Graphics.. (24)
      • 컴퓨터 비전 (Computer Vision) (5)
      • 파이썬(Python) (25)
      • C++ (23)
      • etc. (47)
    • 바이오(Biology) (1)
    • 서평(Book Review) (2)
    • 영어(English) (5)
    • 상식 및 기타(Common Sense and et.. (9)
  • 방명록

2023/07/14 (1)
[LeetCode] 392. Is Subsequence

Input으로 주어진 s가 또 다른 input인 t의 subsequence(연속이 아니더라도 포함이 돼있다면)인지 True/False를 반환하면 된다. 순서를 지켜야하기 때문에 sorting이나 hash map을 사용하는 것이 아니라 index를 이용해 비교해 나가는 방식으로 풀었다. Given two strings s and t, return true if s is a subsequence of t, or false otherwise. A subsequence of a string is a new string that is formed from the original string by deleting some (can be none) of the characters without disturbing t..

기술(Tech, IT)/리트코드(LeetCode) 2023. 7. 14. 07:25
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 이코노미스트 에스프레소
  • 안드로이드
  • The Economist Espresso
  • 티스토리챌린지
  • socket programming
  • 소켓 프로그래밍
  • Python
  • 머신 러닝
  • 파이썬
  • C++
  • Hash Map
  • 투 포인터
  • 리트코드
  • The Economist
  • I2C
  • defaultdict
  • 오블완
  • leetcode
  • min heap
  • Android
  • DICTIONARY
  • ml
  • join
  • machine learning
  • 이코노미스트
  • tf-idf
  • Computer Graphics
  • 딕셔너리
  • java
  • vertex shader
more
«   2023/07   »
일 월 화 수 목 금 토
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 31
글 보관함
반응형

Blog is powered by Tistory / Designed by Tistory

티스토리툴바