๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.61K photos
3 videos
95 files
10.6K links
๐ŸšฉMain Group - @SuperExams
๐Ÿ“Job Updates - @FresherEarth

๐Ÿ”ฐAuthentic Coding Solutions(with Outputs)
โš ๏ธDaily Job Updates
โš ๏ธHackathon Updates & Solutions

Buy ads: https://telega.io/c/cs_algo
Download Telegram
from collections import Counter

def solve(s):
res=0
for i in range(len(s)):
for j in range(i+2,len(s)):
c=Counter(s[i:j+1])
v=c.values()
res+=(max(v)-min(v))
return res

s = "xxyzy"
print(solve(s))
โœ…๐Ÿ”ฅINFOSYS Set-2

15.1/18
16.6 years
17.5000
18.318
19.74
20.21
21.25
22.33
23.2027
24.crime
25.in
26.historic
27.over
28.is real a waste
29.ordered his immediate dismissal
30. should not have
31.attended by all
32.obsolate
33.breakup
34.India have
35.looses
36.both 1 and 2
37.steel
38.both 1 and 2
45.900
46.insertion
47.infinate
48.C
49.64
50.126
51.15
52.T

๐Ÿ“ŒTelegram -
t.me/sup777exams
๐Ÿ‘1