Activity
Mon
Wed
Fri
Sun
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
Apr
What is this?
Less
More

Memberships

Coding Interview Academy

5 members • Free

Technical Interview Prep

212 members • Free

1 contribution to Coding Interview Academy
Leetcode Daily Question: 22 Apr 2026
Problem: 2452. Words Within Two Edits of Dictionary Level: Medium Find all query words that differ from at least one dictionary word in at most two character positions, and return them in their original order. Solution: - A transformation is valid if the Hamming distance between a query word and a dictionary word is ≤ 2. - For each query, iterate through all dictionary words and compute the character-wise mismatch count. - If any dictionary word has ≤ 2 mismatches, include the query in the result and stop further checks for that query (aka. early break). Source Code: https://ide.usaco.guide/OqpSkK6fA48u0WTGvdO
0 likes • 3d
@Dsa Skool O(n^3)?
1-1 of 1
Pannawit Supanwassa
1
5points to level up
@pannawit-supanwassa-8985
Hi

Active 20h ago
Joined Apr 22, 2026