Count occurrences of a target word from character frequencies
Filed under HashedIn
The question
Given two strings, str and word, determine how many times the word can be formed using the characters available in str.
No write-up yet. Related questions below have one.
Related HashedIn questions
Collected from public candidate posts and coding forums. Updated Nov 2026.