Unique Length-3 Palindromic Subsequences
Given a string s, return the number of unique non-empty palindromic subsequences of length 3 that can be formed from 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.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)