JavaScript
algzjh
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
todolist(jQuery实现)
index-jQuery.html<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>todo list</title> <link href="static/bootstrap.min.css" rel="stylesheet"></head><body> <div cla原创 2017-06-29 21:23:57 · 4305 阅读 · 1 评论 -
JavaScript笔记
JavaScript学习笔记数据类型ECMASCript定义了8种数据类型primitivesBooleannullundefinedNumberBigIntStringSymbolObject函数原始类型作为参数是值传递,对象则可以看做是引用传递...翻译 2019-07-18 19:48:51 · 462 阅读 · 0 评论 -
TypeScript学习笔记
TypeScript学习笔记基本类型Booleanlet is Done: boolean = false;Numberlet decimal: number = 6;Stringlet color: string = "blue";Template stringslet fullName: string = `Bob Bobbington`;let age: ...翻译 2019-07-13 14:14:58 · 479 阅读 · 0 评论 -
LeetCode-104. Maximum Depth of Binary Tree
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node./** * Definiti原创 2017-06-27 22:06:08 · 697 阅读 · 0 评论 -
LeetCode-94. Binary Tree Inorder Traversal
Binary Tree Inorder TraversalGiven a binary tree, return the inorder traversal of its nodes’ values.For example: Given binary tree [1,null,2,3], 1 \ 2 / 3 return [1,3,2].Note:原创 2017-06-27 21:59:56 · 655 阅读 · 0 评论 -
LeetCode-2. Add Two Numbers
Add Two NumbersYou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two number原创 2017-06-27 21:42:49 · 591 阅读 · 0 评论 -
LeetCode-206. Reverse Linked List
Reverse Linked ListReverse a singly linked list./** * Definition for singly-linked list. * function ListNode(val) { * this.val = val; * this.next = null; * } *//** * @param {ListNode} h原创 2017-06-27 21:26:34 · 603 阅读 · 0 评论 -
LeetCode-1. Two Sum
Two SumGiven an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the s原创 2017-06-27 20:40:18 · 588 阅读 · 0 评论 -
ToDoMVC ( jQuery )
index.html<!doctype html><html lang="en" data-framework="jquery"> <head> <meta charset="utf-8"> <title>jQuery • TodoMVC</title> <link rel="stylesheet" href="node_modules/to转载 2017-07-15 10:20:44 · 1439 阅读 · 0 评论 -
D3.js学习笔记
d3.js处理模板// d3 templatevar dataset = [10, 20, 30]var p = d3.select("body").select("p");var update = p.data(dataset);var enter = update.enter();var exit = update.exit();update.text( function(...原创 2019-08-21 20:35:30 · 625 阅读 · 0 评论
分享