Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/betomoedano/JavaScript-Coding-Interview-Questions
/ one-away.js
File
one-away.js
strings/one-away.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// There are three types of edits that can be performed on srings: insert, remove or replace.
2
// Given two strings, write a function to check if they are one or zero edits away
3
4
/**
Callers
nothing calls this directly
Calls
1
oneAway
Function · 0.85
Tested by
no test coverage detected