func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long t;     cin >> t;     while (t--) {       long long n;       cin >> n;       long long arr[n];       for (long long i = 0; i < n; i++) cin >> arr[i];       long long p = 0;       while (p < n) {         if (arr[p] < p) break;         p++;       }       --p;       long long s = n - 1;       while (s >= 0) {         if (arr[s] < n - s - 1) break;         s--;       }       ++s;       if (s <= p || (s == p + 1 && arr[s] != arr[p]))         cout <<  Yes ;       else         cout <<  No ;       cout <<   n ;     }     return 0;   }   