DS linked list - student dormitory management (list implementation)

Title Description Suppose a school has 20 dormitories, dormitory numbers 101102,..., 120. Only one student lives in each room. The initial part of the dormitory has been used. Maintain dormitory management with two linked lists (used dormitory linked list and available dormitory linked list) to realize dormitory distribution and dormitory retu ...

Posted on Mon, 04 Oct 2021 17:45:13 -0400 by BoarderLine

Fluent Python reading notes - Chapter 2 - sequence types (list, tuple, etc.)

Chapter 2 array of sequences 2.1 sequence type overview The Python standard library implements rich sequence types in C: Container sequence list, tuple and collections.deque can store different types of data Flat sequence str, bytes, byte array, memoryview, array.array these sequences can only accommodate one type The container sequence ...

Posted on Sat, 25 Sep 2021 06:10:56 -0400 by banacan

4-Collection, List, Iterator, and generics

catalogue Tip: here are the basics of Collection, LIst, and generics Tip: the following is the main content of this article. The following cases can be used for reference 1, Collection collection 1. Overview of collections 1.1 overview: A collection is actually a container,Can be used to store data of multiple reference types 1. ...

Posted on Mon, 20 Sep 2021 06:08:11 -0400 by kliopa10