solulubeta
Sign in
Story Problems / Strings
02.20 · Problem

Almost the Same Password

Medium Two pointers, allow one mismatch Pro

This problem is part of solulu Pro

A login system accepts a typed password if it is at most one edit away from the real one, where an edit is inserting a character, deleting a character or replacing a character. Given the real password and the typed one,…

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 40 of 94 · updated 2026-10-12