02.05 · Problem
Every Scrambled Key
This problem is part of solulu Pro
A detective has the string s of intercepted letters and knows a key p. The key may be scrambled (letters rearranged) in the message. Return every starting index in s where a scrambled version of p begins, in increasing…
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 25 of 94 · updated 2026-10-12