MindMap Gallery data structure
This is a mind map about data structure. Data structure refers to a collection of data elements that have one or more specific relationships with each other. Often, carefully selected data structures can lead to higher operating or storage efficiency.
Edited at 2021-08-29 18:39:59This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
data structure
list
Queue update
Add elements
a1.append()-----(Append) a single element
a1.extend()-----(extend) single or multiple elements
Delete element
a1.pop()-----(outbreak)
a1.remove()-----(move)
del a1[]-----(delete)
Find elements
a1.index()-----(point out)
Other operations on the queue
a1.reverse()-----(reverse)
Similar to [ : :-1]
a1.count()-----(count)
a1.sort()-----(sort)
tuple
Define tuple
type(a1)
delete tuple
del a1 (tip: you can only delete the entire thing)
Other operations on tuples
a1.count()-----(count)
a1.index()-----(point out)
dictionary
definition dictionary
type(english)
use dictionary
Find english[]
Modify english[]=
delete del english[]
Other operations on dictionaries
Clear the dictionary english.clear()
Return dictionary english1=english2.copy()
Create dictionary
Do not specify the default value student1=dict.fromkeys(seq)
Specify the default value student2=dict.fromkeys(seq,15)
Return the value corresponding to the key english.get()
Return all keys english.keys()
Determine whether the key is in the dictionary xxx in english.keys()
Return all values english.values()
Return list english.items()
Traverse the dictionary for k, v in english.items(): print(k, "=>",v)
Knowledge expansion
gather
Empty collection set()
Number set unmber={}
Mixed type collection mix=([ ])
Add element number.add()
Delete element number.remove()
Intersection n1 & n2
Union n1 | n2
Difference set n1 - n2
Symmetric difference set n1^n2
Three derivation formulas (analytical formulas)
list comprehension
a1=[x for x in range(5)]
odd=[x for x in range(10) if x % 2 !=0]
dictionary comprehension
d1={n: n**2 for n in range(5)}
d2={v: k for k,v in d1.items()}
set derivation
s1={i**2 for i in [-1 : -5 : 1: 2: -2]}