bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
Learn/TypeScript/Practice
TypeScript•Practice

TypeScript Practice: Fill the Gap

Open the puzzle, solve it, then come back for the next repetition.

FocusDetails
LanguageTypeScript
ProblemValid Anagram
DifficultyEasy
Puzzle modefill blank
GoalComplete the missing expression or line in a real solution scaffold.

Bugl practice

Start Valid Anagram practice

Start practice

Practice Task

  • Read the code or evidence panel before answering.
  • Submit the answer in the Bugl puzzle UI.
  • Use the explanation to name the exact rule or pattern you missed.

Problem brief: Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once.

Previous

TypeScript Practice: Trace State

Next

TypeScript Practice: Spot the Bug

This chapter

Overview
4

Lessons

8m

Read time

1. TypeScript Practice: Trace State2. TypeScript Practice: Fill the Gap3. TypeScript Practice: Spot the Bug4. TypeScript Practice: Order the Logic