Available question text
Given a multiset of available runes and a target spell (both strings), determine the minimum extra runes (characters and counts) you must add so the spell's character-count requirements are satisfied. This is essentially a frequency-difference problem over characters — compute deficits for each rune and sum them (with attention to repeated spells or large alphabets if present).
Related questions
Continue with questions that share topics or the same question type.
- Add Minimum Number of Rungs
Coding
- Minimum Add to Make Parentheses Valid
Coding · Bracket Sequences · Greedy · Stack
- Minimum Elements to Add to Form a Given Sum
Coding
- Add Binary
Coding · Bit Manipulation · Math · Simulation
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3383. Minimum Runes to Add to Cast Spell
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source