Solve the following two coding tasks.
You are given a table:
Employee(id INT, salary INT)
Write a query that returns the second highest distinct salary in the company.
NULL
.
Given a string s (lowercase English letters), compute the number of distinct non-empty palindromic subsequences of s.
Requirements:
1_000_000_007
.
Constraints (typical):
1 <= len(s) <= 1000