Home
ArenaGraphSignalTopics

/ The Arena

Prove your engineering skills.

WEEKLY+50 XP

Distinct Subsequences

Given two strings s and t, return the number of distinct subsequences of s which equals t.

Input format: line 1 is s, line 2 is t.

Join The Arena

Create an account to submit your implementation, test against our containerized CI suite, and climb the global leaderboard.

Create Account

ALREADY HAVE AN ACCOUNT? LOG IN