[link list of Leetcode notes] 234 Palindrome linked list

😈 Blog home page: 🐼 Hello, everyone. My name is classmate Zhang🐼 πŸ’– Welcome to praise πŸ‘ Collection πŸ’— Leaving a message. πŸ“ Welcome to discuss! πŸ‘€ 🎡 This article was originally written by [Hello, my name is classmate Zhang] and started at CSDN 🌟🌟🌟 ✨ Boutique column (updated from time to time) [data structure + algorithm] [notes][C l ...

Posted by digi24 on Sun, 16 Jan 2022 22:26:08 +0100

Implementation of C + + queue pointer

This article introduces the implementation of queues through linked lists and pointers. catalogue 1, Logical structure: 2, Overview: 3, Related operations: 1. Copy constructor: 2. Destructor: 3. = heavy load: 4. Air judgment: 5. Header node data: 6. Join the team: 7. Departure: 8. Print queue data: 1, Logical structure: We use th ...

Posted by wittanthony on Sat, 15 Jan 2022 07:09:17 +0100

Notes on data structure of postgraduate entrance examination - linear table

Chapter II linear table 2.1 outline requirements (1) Basic concepts of linear table (2) Implementation of linear table   1. Sequential storage   2. Linked Storage (3) Application of linear table 2.2 basic concept of linear table Definition of linear table: a linear table is a finite sequence of elements with the same charac ...

Posted by YOUAREtehSCENE on Sat, 15 Jan 2022 03:31:45 +0100

Sword finger OFFER brush notes Kaze-1

Data structure: linked list, queue, stack JZ24 reverse linked list Niuke network link Difficulty: simple /* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } };*/ class Solution { public: ListNode* ReverseList(ListNode* pHead) { //The initialization part (initialization pointer p,pr ...

Posted by icaro on Sat, 15 Jan 2022 02:39:43 +0100

Linked list sorting problem

Problem expression problem analysis The problem itself is easy to understand. Here are two solutions. The key to the problem of the linked list is to pay attention to the pointing between nodes. In addition, pay attention to each node, such as virtual head node, current node, previous node, next node, etc. the memory distribution of the li ...

Posted by phprocky on Sat, 15 Jan 2022 01:42:07 +0100

Binary tree (linked list implementation) -- add, delete, change and query

Binary tree (linked list implementation) 1.1 basic definition of tree Tree is a very important data structure in our computer. At the same time, using this data structure can describe many things in real life, such as genealogy, organizational structure of units, and so on. A tree is a set with hierarchical relations composed of n (n > = ...

Posted by yarons on Fri, 14 Jan 2022 18:22:19 +0100

[LeetCode skimming - data structure]

2022 winter vacation LeetCode question brushing - task 01: linked list Introduction: the author is basically Xiaobai, so this topic brushing meeting is a difficult process. At the same time, it is also through this team learning to pick up the previous knowledge, and more importantly, it is to expand and consolidate. Therefore, this blog may b ...

Posted by cmason22 on Thu, 13 Jan 2022 17:00:00 +0100

Introduction to python 04 -- object oriented, linked list, exception handling

object-oriented The core of process oriented programming is the process (pipeline thinking). The advantage is to develop along the execution steps, and the disadvantage is to move the whole body Object oriented OOP is a program idea, which takes the object as the basic unit of the program, and an object contains data and a method of o ...

Posted by velkymx on Thu, 13 Jan 2022 14:49:49 +0100

[link list of Leetcode's notes] interview question 02.04 Split linked list

😈 Blog home page: 🐼 Hello, everyone. My name is classmate Zhang🐼 πŸ’– Welcome to praise πŸ‘ Collection πŸ’— Leaving a message. πŸ“ Welcome to discuss! πŸ‘€ 🎡 This article was originally written by [Hello, my name is classmate Zhang] and started at CSDN 🌟🌟🌟 ✨ Boutique column (updated from time to time) [data structure + algorithm] [notes][C l ...

Posted by eriksmoen on Thu, 13 Jan 2022 10:54:27 +0100

Quick start ring linked list to solve Joseph problem

The idea of this paper is as follows: 1: What is a circular linked list and where is it used? 2: How to construct a ring linked list 3: Double pointer to solve the problem of circular linked list 4: Summary 5: Share songs Note that this article only talks about the circular linked list composed of single linked list What is a circular linked l ...

Posted by JonathanV on Thu, 13 Jan 2022 09:54:28 +0100