![C++ Solution to Coding Challenge 3. Longest Substring Without Repeating Characters | by Nhut Nguyen | LeetSolve | Medium C++ Solution to Coding Challenge 3. Longest Substring Without Repeating Characters | by Nhut Nguyen | LeetSolve | Medium](https://miro.medium.com/v2/resize:fit:1400/1*TZ0ELI8wqNpioizCI-si7g.png)
C++ Solution to Coding Challenge 3. Longest Substring Without Repeating Characters | by Nhut Nguyen | LeetSolve | Medium
![Data Type string #include // C++ String class string str1, str2; // Default constructor cin >> str1 >> str2; cout << “str1: ” << str1 << endl << “str2: - ppt download Data Type string #include // C++ String class string str1, str2; // Default constructor cin >> str1 >> str2; cout << “str1: ” << str1 << endl << “str2: - ppt download](https://images.slideplayer.com/24/7244684/slides/slide_5.jpg)
Data Type string #include // C++ String class string str1, str2; // Default constructor cin >> str1 >> str2; cout << “str1: ” << str1 << endl << “str2: - ppt download
![Find if a given string can be represented from a substring by iterating the substring “n” times - GeeksforGeeks Find if a given string can be represented from a substring by iterating the substring “n” times - GeeksforGeeks](https://media.geeksforgeeks.org/wp-content/cdn-uploads/isRepeat.png)