---
title: "#longest-common-subsequence articles | Hashnode"
description: "Explore 3 articles tagged #longest-common-subsequence on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/longest-common-subsequence"
---

Tag

# #longest-common-subsequence

3 posts · 0 followers

[Chetan Datta](https://hashnode.com/@chetan77) · [Nov 30, 2025](https://hashnode.com/posts/print-all-lcs-sequences/692c2e8ac68e1d16dcfefbcf)

### [Print all LCS sequences](https://chetan77.hashnode.dev/print-all-lcs-sequences?utm_source=hashnode&utm_medium=feed)

Problem You are given two strings s1 and s2. Your task is to print all distinct longest common subsequences in lexicographical order. Note: A subsequence is derived from another string by deleting some or none of the elements without changing the ord...

3 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/print-all-lcs-sequences?utm_source=hashnode&utm_medium=feed)

[Chetan Datta](https://hashnode.com/@chetan77) · [Nov 30, 2025](https://hashnode.com/posts/longest-palindromic-subsequence/692c45834a2105375fc8c513)

### [Longest Palindromic Subsequence](https://chetan77.hashnode.dev/longest-palindromic-subsequence?utm_source=hashnode&utm_medium=feed)

Problem Given a string s, find the longest palindromic subsequence\*'s length in\* s. A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements. (link) Exa...

2 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/longest-palindromic-subsequence?utm_source=hashnode&utm_medium=feed)

[Chetan Datta](https://hashnode.com/@chetan77) · [Nov 23, 2025](https://hashnode.com/posts/longest-common-subsequence-lcs/6922c79f24a96ecfd57e388d)

### [Longest Common Subsequence (LCS)](https://chetan77.hashnode.dev/longest-common-subsequence-lcs?utm_source=hashnode&utm_medium=feed)

Problem 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...

5 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/longest-common-subsequence-lcs?utm_source=hashnode&utm_medium=feed)
