Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
basic_data_structures [2019/10/03 19:53] – [Java] phreazer | basic_data_structures [2019/10/03 20:00] – phreazer | ||
---|---|---|---|
Line 2: | Line 2: | ||
Having dealt with multiple different programming languages creates some confusion how and in which place the data structures are implemented in each of the languages. This page tries to provide some overview of basic ds. | Having dealt with multiple different programming languages creates some confusion how and in which place the data structures are implemented in each of the languages. This page tries to provide some overview of basic ds. | ||
+ | |||
+ | |||
+ | ===== Concurrency ===== | ||
+ | |||
+ | ==== Java ==== | ||
+ | ==== Python3==== | ||
+ | * Threading | ||
+ | * Lock | ||
+ | * RLock | ||
+ | * Condition | ||
+ | * Semaphore | ||
+ | * Event | ||
+ | * Queue | ||
+ | http:// | ||
===== Stack ===== | ===== Stack ===== | ||
Line 52: | Line 66: | ||
</ | </ | ||
+ | ==== Python 3 ==== | ||
+ | < | ||
+ | from collections import deque | ||
+ | first_item = numbers.popleft() | ||
+ | </ | ||
+ | |||
+ | Operations: | ||
+ | < | ||
+ | append, pop, popleft | ||
+ | </ | ||
===== Math funcs ===== | ===== Math funcs ===== | ||