← CarTrade Tech Limited questions

Distance Between Characters in String

Filed under CarTrade Tech Limited

The question

Given a string, return true if the distance between the character 'a' and 'b' is exactly 3.

No write-up yet. Related questions below have one.

Related CarTrade Tech Limited questions

Collected from public candidate posts and coding forums. Updated Nov 2026.