Sign InCreate Account

Upgrade to Pro

Upgrade Now

Coding Workspace

EditorProjectsPractice QuestionsTimed Mock ExamsFlowcharts

PseudoEditor AI

Pseudocode TutorCode GeneratorCode FixerCode Converter
Back to Problems
PreviousNext

Sign in to run tests against edge cases and save your code automatically.

Problem Description

Medium

Anagram Checker

PROStrings
ASCII
Frequency Array

Two words are **anagrams** if they contain exactly the same letters the same number of times, in any order (for example `listen` and `silent`). Write a program that inputs two words made only of lowercase letters (a-z), which may be different lengths. Output `Anagram` if they are anagrams of each other, otherwise output `Not anagrams`. Hint: use an array of 26 counters, one for each letter. The ASCII code for `a` is 97.

Example Input

listen silent

Example Output

Anagram

Success Rate:

0% (0 passed / 0 attempted)

Code

Draft auto-saved

Test Results

Click "Test Code" to evaluate your code against the tests.

Product

For SchoolsOverviewFeaturesFAQ
PseudoEditor

© 2026 PseudoEditor. All rights reserved.