๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
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
๐Ÿ”ฅCAPGEMINI ANSWERS
1. 16,6,11
2. 5
3. Tree
4. 15
5. p+q+r - 14
6. Inorder traversal- 7 9 4 2 5 1 3 6 8
7. Bubble sort - 4
8. Postfix expression- 4
9. Graphic - only 1
10. A=1,b=5,c=6, - 11
11. Could you stop in
12. Height - 2
๐Ÿ‘1
๐Ÿ”ฅCAPGEMINI ANSWERS

1. 16,6,11
2. 5
3. Tree
4. 15
5. p+q+r - 14
6. Inorder traversal- 7 9 4 2 5 1 3 6 8
7. Bubble sort - 4
8. Postfix expression- 4
9. Graphic - only 1
10. A=1,b=5,c=6, - 11
11. Could you stop in
12. Height - 2
13. 2434
14. Topological - only 1
15. Nodes-15
16. Postfix - 2
17. The idea for
18. With encourage
19. Tom said that he was fond of playing the guitar
20. Heavy losses had suffered by him in business
21. Psuedo code -50
22. The teacher said that the Earth had moved round the sun
23. A good men down
24. To help u all - no error
25. My brother - inference
26. Iam getting- want to move to
27. On hearing - 1234