String Patterns (Also for Core/Database Intern :)
Asked at Snowflake · Coding & Leetcode-style Questions · Difficulty: Medium
Given the length of a word ( `wordLen` ) and the maximum number of consecutive vowels that it can contain ( `maxVowels` ), determine how many unique words can be generated. Words will consist of English alphabetic letters a through z only. Vowels are a, e, i, o, u; consonants are the remaining 21 letters. In the explanations, v and c represent vowels and consonants.
Loading the problem…
More Snowflake interview questions
- Design a Distributed Job Scheduler with Cron, Pause, Resume
- SET Card Game: Validate a Triple and List All Sets on the Table
- Design an ACL Authorization Service
- Design an S3-Style Blob Store with Deduplication
- Boundary of Binary Tree
- SQL: Project Duration & Budget per Employee