自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Python列表笔记

xlsxwrite的使用必须close(),不然会无效。

2023-03-14 08:52:00 85

原创 GC垃圾回收全过程

jvm垃圾回收机制(GC)垃圾回收俗称的有两种:minor GC和 major gc,minor GC表示回收青年代的垃圾 , major gc有时是回收老年代的old GC,有时是对内存的full GC(结合图1-1)Patial GCyoung GC 年轻代回收Old GC 老年代回收 只有CMS的Concurrent collection是这个模式Mixed GC 混编回收 只有G1有这个模式full GC(一般默认会在老年代内存达到68%【可以修改】时进行)全局回收 如果

2021-08-27 13:40:08 688 1

原创 链表插入删除

package cn;public class LinkList <T>{ private int length; private Node head; private class Node{ Node next; T value; } LinkList(){ head = new Node(); length=1; } public void InsertNo...

2021-07-18 20:23:42 137

原创 链表的使用

#include<stdio.h>#include<stdlib.h>#define InitSize 10#define null 0typedef struct LNode{ float data; struct LNode *next;}LNode,*LinkList;bool initLode(LinkList &L){ L = static_cast<LNode *>(malloc(sizeof(LNode)));...

2021-07-14 09:07:23 134

原创 顺序表(静态)插入删除查找

bool ListInsert(seqList &L,int i,int e){ if(i<1 || i>L.length+1) return false; if(L.length >= L.MaxSize) return false; for(int j=L.length;j>i;j--) L.data[j]=L.data[j-1]; L.data[i]=e; L.length...

2021-07-13 22:44:17 139

原创 2021-05-04

文件内容转换成列表:with open('somefile','r') as f: content = list(f) print(content)"""['Hello\n', 'World\n', 'Python']"""去掉换行符方式一with open('somefile','r') as f: content = f.read().splitlines() print(content)"""['Hello', 'World', 'Python'.

2021-07-13 22:15:49 86

原创 顺序表动态存储

#include<stdio.h>#include<stdlib.h>#define InitSize 10typedef struct{ float *data; int length; int MaxSize; //顺序表最大容量}seqList;void initSeL(seqList &L){ L.data = static_cast<float*>(malloc(InitSize * sizeof(f...

2021-07-13 22:12:52 214

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除