Loading Company...
This is a verified interview question from Pace-stock-broking. Candidates reporting seeing this problem in recent Online Assessments (OAs) and onsite rounds. Mastering "Count Sequences with Vowels" covers key patterns like DP.
"You are given a string s whose length can be more than 10^9. You are given an array arr and a string p showing the count of the characters (for example, if arr = [1, 2] and p is 'ab', then the string s is 'abb'). Count the number of sequences modulo 10^9 + 7 such that every sequence contains all the vowels atleast once."
Join thousands of developers practicing for Pace-stock-broking.