GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Data Structures

Sam Beazley Computer Science Englisch

Inhalt der Mindmap

Data Structures

  1. Tuples

    • ordered, unchangeable, and allow duplicates
      • myTuple = ("","","")
        • Items cannot be changed
          • item = myTuple[x] to access
  2. Sets

    • unordered, unchangeable, and reject duplicates
      • mySet = {"","",""}
        • mySet.add to add
          • mySet.pop() removes random mySet.update({}) to merge
            • unordered, so no index
  3. Dictionaries

    • stores data in key:value format
      • myDict = {"k":v, "k":v, "k":v}
        • myDict.update({"k":v}) to add
          • myDict.pop("k") to remove
            • myDict["k"] to access
  4. Lists

    • ordered, changeable, and allow duplicates
      • myList = ["","",""]
        • myList.append to add
          • myList.remove("") to remove myList.pop(#) to remove index
            • item = myList[x] to access

Informationen

Beschreibung
Computer Science Mindmap am Data Structures, erstellt von Sam Beazley am 03/02/2021.
Erstellt von
Sam Beazley
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck