随笔分类 - 前端-数据结构学习
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content
阅读全文
摘要:LinkList.prototype.update = function (position,newData) { if (position < 0 || position >= this.length) return false; //获取对应的data var current = this.he
阅读全文
摘要:LinkList.prototype.get = function (data) { var current = this.head; var index = 0; //开始查找 while (current) { if (current.data == data) { return index;
阅读全文
摘要://获取详情方法 LinkList.prototype.get=function(position){ if(position<0||position>=this.length) return null //获取对应的data var current=this.head var index=0 wh
阅读全文