HashMap or Dictionary in python | PART - 22 | DSA in python in telugu | Engineering Animuthyam
HTML-код
- Опубликовано: 29 сен 2024
- Free python dsa course in Telugu | Part - q | Engineering Animuthyam
Free python dsa course in Telugu
Website link:
vigneshreddyjulakanti.in/python
Insta:
Engineering Animuthyam
python dsa
dsa python
python in telugu
telugu python
Dsa in telugu
from scratch
easy
hd
simple
telugu engineering
dsa
coding
programming
engineering
engineering animuthyam.
jobs
high paying jobs
road maps
Dsa in telugu
Mern stack
Python
Java
M1
Daa
Placements
Btech
IIt
Nit
Eamcet
#coding #telugu #job #python #telugumemes #trendingreels #btech #college #java #javacoding #iit #pythontutorialtelugu
#nit #jee #eamcet #dsa
chala slow ga velthunnamm compare to java so it is better do some long videos bro...
Python is easy compare to java so you can give more concepts and problem in single video and provide @DSA sheet for preparation
Anna notes upload cheyyava
And classes kuda regular ga upload cheyavaa final year students ki chala help avuthundhiii......
# l=[2,3,4,2,1,1,1,2,4]
# n=len(l)
# dict={}
# count=0
# for i in range(n):
# if l[i] not in dict:
# dict[l[i]]=1
# else:
# dict[l[i]]+=1
# print(dict)
OR
from collections import Counter
l=[2,1,2,1,3,4,1,3,3,4]
print(Counter(l))
list1 = [1,5,8,0,1,8,1,5,1]
dici = {}
for i in range(len(list1)):
if list1[i] not in dici:
dici[list1[i]] = 1
else:
dici[list1[i]] = dici[list1[i]] + 1
print(dici)
Chala baga chepthunnaru bro👏
li = [1,5,8,0,1,8,1,5,1,5,8,5]
l2 =[]
for i in range(len(li)):
count = 1
if li[i] in l2:
continue
for j in range(i+1,len(li)):
if li[i]== li[j]:
count +=1
l2.append(li[i])
print(li[i] ,'=',count)
anna okasari chudu ee code to count no of times repeated a num in the list brutebforce vastundhi ni valla thank you anna regular ga classes upload chey anna..........