Please enable JavaScript.
Coggle requires JavaScript to display documents.
Python, class, Stacks, Hashing, a, x - Coggle Diagram
Python
Dynamic programming
-
-
-
-
-
Define sub problem
-
-
you may be able to define the subproblem if you identitfy the recursive approach and see what is required and what overlaps
-
-
-
NOTE THERE WILL ALWAYS BE CASES WHICH CAN BE ELIMINATED BY BASE CASES AND NEED NOT BE STORED IN THE ARRAY
-
-
-
-
Object
-
-
methods for objects
strings
-
str.format(t1,t2,........tn) inside str {} placeholder
-
-
-
While VS FOR
its possible to chnage iteration variable to repeat some iterations in while loop but not in the for loop
-
-
inbuilt functions
print(value(s), sep= ‘ ‘, end = ‘\n’, file=file, flush=flush)
Flush to immediately print
Generally python waits for a number of print statements then prints together
-
-
-
Differentiate between pass by reference, value , assignment.
-
-
Stacks
-
Undo , redo , back ,forward
Tags in html , xml balanced symbol checking
-
-
-
-
-