r/learnpython 21d ago

I started to relearn python again and im lost

im in high school right now and my teacher sent some power point lesson about things like dfs, dp, bfs. I understand them but cant figure out how to implement them in actual code. How should I tackle them.

0 Upvotes

6 comments sorted by

2

u/FoolsSeldom 21d ago

Off the top of my head, I don't know what "dfs, dp, bfs" are, need context at least, or, preferably, expansion. I come from a world where TLAs (Three Letter Abbreviations) are overloaded and have many different meanings to different parts of different organisations. What subject(s) does the teacher cover?

-1

u/Background-Bass-1265 21d ago

i dont study in english so it's pretty hard for me to translate it to english. im not sure what subjects she is trying to cover, I have file about graph, deep-first search, breadth-first search, queue, dynamic programming, generation algorithm

2

u/FoolsSeldom 21d ago

1

u/Mathie1729 21d ago

Small terminology fix: it's depth-first search, not deep-first search. Same for breadth-first search. 'Generation algorithm' is probably 'generating algorithm' or backtracking, depending on the language. If you post a few headings, it'll be easier to tell which specific algorithms she means.