en
Feedback
Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO

Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO

Open in Telegram

Main channel https://t.me/Coding_000 Contact Admin 👉 @ILOVEU_143 for booking your exam slots Web- https://coding000.github.io/Projects/ 💯% clearance in any placement exams OffCampus -https://t.me/Offcampus_000 Discussion- https://t.me/exams_discussion

Show more
3 348
Subscribers
-324 hours
-167 days
-5130 days
Posts Archive
Qbrust and ibm exam Discussion Group👇👇👇👇👇 https://t.me/exams_discussion Keep supporting us ❤️          ➖ @ILOVEU_000

def checkValid(str,i, L, R): right = R[ord(str[i]) -    ord('a')] for j in range(i, right):     if (L[ord(str[j]) -    ord('a')] < i):    return -1     right = max(right, R[ord(str[j]) -        ord('a')]) return right def maxcntOfSubstrings(str): res = [] n = len(str) L = [-1] * 26 R = [-1] * 26 for j, i in enumerate(str):   x = ord(i) - ord('a')       if L[x] == -1:         L[x] = j     R[x] = j right = -1 for j, i in enumerate(str):   x = ord(i) - ord('a')     if j == L[x]:          new_right = checkValid(str, j,         L, R)       if new_right != -1:         sub = str[j : new_right + 1]         if new_right < right:      res[-1] = sub     else:                       res.append(sub)     right = new_right return res if name == 'main': str = "adefaddaccc" res = maxcntOfSubstrings(str) for sub in res:   print(sub, end = " ")

All qbrust 5 codes are posted 👍 For 11 am exam slot Share this channel with your friends @Coding_000😍

Qbrust and ibm exam Discussion Group👇👇👇👇👇 https://t.me/exams_discussion Keep supporting us ❤️          ➖ @ILOVEU_000

spiral traverse code in python 3 ✅✅ All Test Cases Passed 💯✅ Share & Join : @Coding_000
spiral traverse code in python 3 ✅✅ All Test Cases Passed 💯✅ Share & Join : @Coding_000

Work Completion in possible Time Code in python 3 ✅✅ Passed All Test Cases 💯✅ Share & join : @Coding_000
+1
Work Completion in possible Time Code in python 3 ✅✅ Passed All Test Cases 💯✅ Share & join : @Coding_000