Fall SalePremium questions, over 25% offUnlock all premium questions for over 25% off
Prefix Frequency Block Partition
Easy
Question
The input is a string s whose characters are all uppercase English letters ('A' to 'Z'). Call a positive integer len valid if all three conditions below are true:
...
Asked at:Amazon
More Amazon interview questions
- Smallest Lexicographic Palindromemedium
- Connect Points In Unbounded Matrixhard
- Find Oldest One-Time Visitormedium
- All String Reorganizationseasy
- Assemble String From Blocksmedium
- Reversi Single Move Simulationmedium
- Design Card Draw Gamemedium
- Meeting Room Assignmentmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.