The Blind 75 Leetcode Series: Longest Common Subsequence

Jonathan Chao
4 min readNov 15, 2023
Photo by Chris Ried on Unsplash

1143. Longest Common Subsequence

Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0.

A subsequence of a string is a new string generated from the original string with some characters (can be none) deleted without changing the relative order of the remaining…

--

--

Jonathan Chao

I am a software developer who has been in this industry for close to a decade. I share my experience to people who are or want to get into the industry