Menu
Coddy logo textTech

Longest Substring

Lesson 3 of 3 in Coddy's Interview Coding Challenges - Pack VIII course.

challenge icon

Challenge

Hard

Write a function longestSubstring that takes in a string s and returns an integer representing the length of the longest substring without repeating characters.

Try it yourself

#include <string.h>

int longestSubstring(char* s) {
    // Write code here
}

All lessons in Interview Coding Challenges - Pack VIII

1Challenges

Reverse a StringFind the Missing NumberLongest Substring