life is too short for a diary

Posts Tagged: set

Leetcode - Longest Substring Without Repeating Characters

In this [leetcode]( problem, we are asked to find the length of the longest string of characters in a provided string that does not contain repeating characters. In other words, in the string `abcabcbb` the longest substring without repeating characters is `abc` (with a length of 3)...

Continue reading → leetcode two pointers set string