DSA Trainer
← All problems
PremiumSliding WindowMedium

Permutation in String

Asked at:AmazonGoogleMicrosoft

This problem teaches the Sliding Window pattern, one of the most frequently tested techniques in technical interviews at top companies.

What you unlock

  • All guided problems, with new ones added every week
  • New pattern guides added every week
  • Founding member feature request form — help shape the roadmap
  • In-browser JS + Python runner with test cases on every problem
  • Hint ladders: nudges toward the answer, not spoilers
  • Dry runs that walk state row by row so you actually internalize the trace

Patterns covered

Hash MapSetFrequency MapTwo PointersSliding WindowStackBinary SearchLinked ListKadane's AlgorithmTree TraversalTracking MinimumPrefix SumDynamic ProgrammingIntervalsMonotonic StackHeap / Priority QueueGraph TraversalBacktracking

Already doing the free problems? This picks up right where they leave off. Same format, harder patterns, the ones that show up in every FAANG-style screen.

12 of 100 founding member spots left

Founding Member Deal

$29 / year

or $6 / month

Lock in founding member pricing.

New problems and patterns ship every week. Founding members get a feature request form and direct access to the roadmap of the program!

  • All problems + every new one
  • New problems and patterns weekly
  • Feature request form
  • Cancel anytime

Cancel anytime. No questions asked. Secured by Stripe.