bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/C++/Practice
C++•Practice

C++ Practice: Order the Logic

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

FocusDetails
LanguageC++
ProblemGroup Anagrams
DifficultyMedium
Puzzle modearrange
GoalArrange or trace the pieces in the order the algorithm actually runs.

Bugl practice

Start Group Anagrams 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 an array of strings strs, group the anagrams together. You can return the answer in any order. 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

C++ Practice: Spot the Bug