Y
Hacker News
new
|
ask
|
show
|
jobs
by
murermader
934 days ago
Yeah, that was exactly was I was doing. For the left number do everything as normal, while walking through the string. For the reverse part, just walk through the reverse of the string and match the reversed keywords.