3.1.2 Singly Linked ListsThe two pointers per item of a doubly linked  dịch - 3.1.2 Singly Linked ListsThe two pointers per item of a doubly linked  Việt làm thế nào để nói

3.1.2 Singly Linked ListsThe two po

3.1.2 Singly Linked Lists
The two pointers per item of a doubly linked list make programming quite easy .
Singly linked lists are the lean sisters of doubly linked lists. We use SItem to refer
to an item in a singly linked list. SItems scrap the predecessor pointer and only store
a pointer to the successor . This makes singly linked lists more space efficient and
often faster than their doubly linked brothers. The downside is that some operations
can no longer be performed in constant time or can no longer be supported in full
generality . For example, we can remove an SItem only if we know its predecessor .
We adopt the implementation approach from doubly linked lists. SItems form
collections of cycles and an SList has a dummy SItem h that precedes the first
proper element and is the successor of the last proper element. Many operations of
Lists can still be performed if we slightly change the interface. For example, the
following implementation of splice needs the predecessor of the first element of the
sublist to be moved.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
3.1.2 đơn lẻ được liên kết danh sách
con trỏ hai cho mỗi mục trong danh saùch gấp đôi liên kết làm cho lập trình khá dễ dàng.
đơn lẻ được liên kết danh sách là chị em nạc trong danh sách này gấp đôi được liên kết. Chúng tôi sử dụng SItem để tham khảo
vào một mục trong danh sách liên kết đơn lẻ. SItems phế liệu con trỏ người tiền nhiệm và chỉ lưu trữ
một con trỏ chỉ tới sự kế thừa. Điều này làm cho danh sách liên kết đơn lẻ thêm space thống gói và
thường nhanh hơn so với anh em của họ gấp đôi được liên kết. Nhược điểm là một số hoạt động
không còn có thể được thực hiện trong thời gian liên tục hoặc có thể không còn được hỗ trợ đầy đủ
quát. Ví dụ, chúng tôi có thể loại bỏ một SItem chỉ khi chúng tôi biết trước.
chúng tôi áp dụng các phương pháp thực hiện từ danh sách liên kết gấp đôi. Hình thức SItems
Các bộ sưu tập của chu kỳ và một SList có một h SItem giả đến trước fi rst
yếu tố thích hợp và là người thừa kế của tố thích hợp. Nhiều hoạt động của
danh sách vẫn còn có thể được thực hiện nếu chúng tôi một chút thay đổi giao diện. Ví dụ, các
sau thực hiện splice cần tiền thân của các yếu tố rst fi các
sublist được chuyển đi.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
3.1.2 Singly Linked Lists
The two pointers per item of a doubly linked list make programming quite easy .
Singly linked lists are the lean sisters of doubly linked lists. We use SItem to refer
to an item in a singly linked list. SItems scrap the predecessor pointer and only store
a pointer to the successor . This makes singly linked lists more space efficient and
often faster than their doubly linked brothers. The downside is that some operations
can no longer be performed in constant time or can no longer be supported in full
generality . For example, we can remove an SItem only if we know its predecessor .
We adopt the implementation approach from doubly linked lists. SItems form
collections of cycles and an SList has a dummy SItem h that precedes the first
proper element and is the successor of the last proper element. Many operations of
Lists can still be performed if we slightly change the interface. For example, the
following implementation of splice needs the predecessor of the first element of the
sublist to be moved.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: