1 Star 1 Fork 0

AvenirTech 未来科技/cpp单链表

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
LinkList.h 583 Bytes
Copy Edit Raw Blame History
吉法师 authored 5 years ago . 1
#ifndef LINKLIST_H
#define LINKLIST_H
#include<iostream>
class Node
{
public:
int data;
Node * next;
};
class LinkList
{
public:
LinkList();
~LinkList();
void CreateLinkList(int size);
int GetLen();
bool isEmpty();
void showLinkList();
Node * Find(int data);
void InsertElemAtIndex(int data,int n);
void InsertElemAtHead(int data);
void InsertElemAtEnd(int data);
void DeleteElemAtEnd();
void DeleteElemAtPoint(int data);
void DeleteElemAtHead();
void DeleteAll();
private:
Node * head;
};
#endif // LINKLIST_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/onlyyyy/cpp_single_linked_list.git
git@gitee.com:onlyyyy/cpp_single_linked_list.git
onlyyyy
cpp_single_linked_list
cpp单链表
master

Search