Я принял грубую силу ' подход 1 ' 'Решение в этом коде LeetCode C ++ [https://leetcode.com/problems/longest-p ... srute-forc неправильно. Я все утро был все утро, но не могу найти проблему.class Solution {
private:
bool check(string &s, int i, int j){
while(i
public class MyClass {
static boolean check(String s, int l, int r) {
while (l
Подробнее здесь: https://stackoverflow.com/questions/797 ... ed-results
Мобильная версия