Independence Day Sale! Unlock 40% OFF on All Job-Oriented Training Programs – Limited Time Only! Offer Ending in
D
H
M
S
Get Now
Problem Submissions Solution

Length of the longest substring

Difficulty: Medium

Acceptance: %

Points: 30.00

Given a string s, find the length of the longest substring without repeating characters.

Topics

Companies

Articles

Examples:

NA

Constraints:
  • 1 = s.size() = 105
  • It is guaranteed that all characters of the String s will be lowercase letters from 'a' to 'z'
Companies:
Amazon Microsoft Google Morgan Stanly
Topics:
String
Locked Content
Access Restricted: Please Login to access the code editor and test cases.