๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.59K photos
3 videos
95 files
10.2K 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
Samsung Internship program 2023

About the Internship:

ยท 3 Months Paid Internship

ยท Location will be Chennai Samsung Office

ยท Expecting Immediate joiners

Eligible Criteria:

ยท Final Year 2023 batch B.E (CSE & ECE), B.Tech (IT) and Msc (5 years integrated course) students with No standing arrears can only apply

ยท CGPA with 7.5 and above can only apply

Interview Mode: ยท F2F Interview โ€“ 2 Rounds of Coding Interviews.

Apply Link :

https://lnkd.in/ggYXAXky
๐Ÿ‘1
def opr(n):
       return int(str(n)[::2])
n=int(input())
arr=list(map(int,input().split()))
c=0
for i in range(n-1):
      for j in range(i+1,n):
            if(arr[i]+opr(arr[j])==arr[j]+opr(arr[i])): c+=1
print(c)

Odd Arrayโœ…
Accenture Hack Diva
n,p=map(int,input().split())
arr=list(map(int,input().split()))
s1=sum(arr)
for i in range(p):
      for j in range (n):
            if(j!=0 and arr[j-1]!=0):arr[j]+=2
            if(j!=n-1 and arr[j+1]!=0):arr[j]+=2

print(sum(arr)-s1)

Left Right Increase
Python 3โœ