data structures and algorithms code example

Example 1: data structures and algorithms in python

great course, highly recommended !

"https://www.udemy.com/course/algorithms-and-data-structures-in-python/"

Example 2: python data structures

#string
string = 'Hi my name is Dr.Hippo'
#integer(whole number)
integer = 12345
#floating point number
fl = 123.456
#list
li = [1,2,3,,'string',None]
#boolean
t = True
f = False
#none(equivalent to null or undefined in other languages)
n = None
#dictionary
dictionary = {'key':'value'}

Example 3: data structures used

Depending on the data that I am working with, I use
Arrays, Lists, Sets, Maps.