How To Use Not Built In Data Types, Etc. In Game Dev

I am going to try to make games but I don’t know how games use them? I mean data structures like these(in Python and also the conceptual side):
Nodes, Singly Linked Lists, Doubly Linked Lists, Binary Trees, Binary Search Trees, more Trees, Queues, Stacks, Hash Maps, Min Heaps, Max Heaps, Graph.
I also learnt about brute force algorithms, greedy algorithms, searching algorithms, sorting algorithms. I also learnt about recursion. How do these DSA(data structures and algorithms) get used in games?