Data Types & Structures @ Development Guide:
Two important topics that sort of universal throughout coding, Data Types and Data Structures. Please note right now we only provide examples in Python.
Data Types:
There is 4 key types you should try to remember.
- Integer: A whole number. This excludes fractions and decimals.
- Float: A decimal number. This number must have a deciaml place and numbers after and before. Example:
1.34. Note if you give a integer and re-cast it as a float it will reuturn like1.00 - String: A sequence of characters. Including letters, digits, and symbols. Example:
"Test piece of string" - Boolean: True or False (On or Off, Yes or No).
Data Structures:
There is 5 key data structures you should try to remember.
- Arrays: A collection of elements (data). In no order.
- Lists: A collection of elements that are ordered in some form.
- Trees: A abstract data structure that shows a hierarchical structure.
- Stacks: A abstract data stucture that follows the Last in, First Out rule (LIFU).
- Queues: A Linear Data Structure that follows a specific order for operations. First-In-First-Out (FIFO).