GoConqr has a new look! Let us know what you think.

Mind map

Data Structures

Eric Chao Computer Science English

Map content

Data Structures

  1. Lists

    • Declaration: thisList = [ ]
      • Elements in a list can be Ints, String, Tuple, Boolean or Another List
        • Accessing: thisList | Accessing Element: thisList[ _ ]
          • List is Ordered
            • Lists are Mutable (Can Make Changes)
              • Adding Elements: thisList.append( _ )
                • Removing Elements: thisList.pop()
  2. Tuples

    • Declaration: thisTuple = ( )
      • Data Types in Tuple can be Ints, Strings, or Booleans
        • Accessing: thisTuple | Accessing Element: thisTuple[ _ ]
          • Tuple is Ordered
            • Tuple is Immutable (Cannot be Updated / Add Elements)
  3. Sets

    • Declaration: thisSet = { }
      • Data Types in Sets can be Ints, Strings and Boolean, but CAN'T be Repeated
        • Accessing: thisSet
          • Sets are Unordered -> Cannot Access Specific Element
            • Sets are Mutable
              • Adding Elements: thisSet.add( _ )
                • Removing Elements: thisSet.remove( _ )
  4. Dictionaries

    • Declaration: thisDict{ "key" : value }
      • Data Types in Dictionaries can be Ints, Strings, Boolean and List
        • Accessing: thisDict | Accessing Element thisDict["key]
          • Dictionaries are Ordered
            • Dictionaries are Mutable, but Keys cannot be Duplicated
              • Adding Elements: thisDict["key"] = value
                • Removing Elements: del thisDict["key"]

Information

Description
Computer Science Mind Map on Data Structures, created by Eric Chao on 13/09/2021.
Created by
Eric Chao
Views
2
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?