Skip to content

Adding shorthands#4

Closed
hpandey402 wants to merge 3 commits intobittu1040:masterfrom
hpandey402:master
Closed

Adding shorthands#4
hpandey402 wants to merge 3 commits intobittu1040:masterfrom
hpandey402:master

Conversation

@hpandey402
Copy link
Copy Markdown

@hpandey402 hpandey402 commented Aug 18, 2024

Added shorthands and alternatives for anagram

we can use shorthands
Update coding-String-challenge.js
Added Alternative way of finding anagram
if (char !== ' ') {
if (charCount[char]) {
charCount[char]++;
} else {
Copy link
Copy Markdown
Owner

@bittu1040 bittu1040 Aug 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hpandey402 Please remove existing code only if it is wrong.
You can add alternative of that as shortcut

@hpandey402 hpandey402 closed this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants