```swift//// ViewController.swift// swiftT//// Created by wjwdive on 2019/1/9.// Copyright © 2019年 wjwdive. All rights reserved.//import UIKitstruct S... ...
分类:
编程语言 时间:
2020-05-25 09:27:52
阅读次数:
64
双向循环链表跟单向链表一样,都是头尾相连,不过单向是尾指向头,双向是头尾互相指,可以从前往后查,也可以从后往前查 无头结点的双向循环链表 public class CircleLinkedList<E> extends AbstractList<E> { private Node<E> first; ...
分类:
编程语言 时间:
2020-05-25 00:19:12
阅读次数:
82
什么是插槽? 插槽就是子组件中的提供给父组件使用的一个占位符,用<slot></slot> 表示,父组件可以在这个占位符中填充任何模板代码,如 HTML、组件等,填充的内容会替换子组件的<slot></slot>标签。 应用场景 比如你开发一个组件, 里面一些子元素希望是由调用者来定义, 就可以定义 ...
分类:
其他好文 时间:
2020-05-24 23:48:44
阅读次数:
146
单循环链表与单链表的不同是,单循环链表尾结点的next指向第一个结点(或头结点) 代码: 无头结点: public class SingleCircleLinkedList<E> extends AbstractList<E> { private Node<E> first; private sta ...
分类:
编程语言 时间:
2020-05-24 23:46:44
阅读次数:
71
class Solution { public: bool isMatch(string s, string p) { return isMatchCore(s.c_str(), p.c_str()); } bool isMatchCore(const char* s, const char* p) ...
分类:
其他好文 时间:
2020-05-24 16:53:21
阅读次数:
51
示例: git init xxx //初始化仓库(工作区) git add a.txt xy.sh //上传两个文件至暂存区 git commit -m "first" //上传至分支 git clone https://github.com/feiYufy123/tt //克隆网址 git rem ...
分类:
其他好文 时间:
2020-05-24 13:34:33
阅读次数:
74
题目:Candies 题目链接:https://vjudge.net/problem/CodeForces-1343A 思路: 其实就是把给出的式子等比数列求和整理一下,便可求出x。 解题代码: // . . // | Try First One| // ' ' // | . . // | | | ...
分类:
其他好文 时间:
2020-05-24 11:25:18
阅读次数:
49
The Node.js framework is mostly used to create server based applications. The framework can easily be used to create web servers which can serve conte ...
分类:
Web程序 时间:
2020-05-24 00:54:25
阅读次数:
90
//贴个主席树板子#include<bits/stdc++.h> using namespace std; #define pb push_back #define sc(x) scanf("%lld",&x); #define int long long #define fi first #def ...
分类:
其他好文 时间:
2020-05-24 00:11:36
阅读次数:
47
1.先到要提交项目目录里右键选择git bash。 2.git init 初始化本地仓库 3.git add . 把本地文件添加到本地仓库暂存区,.的意思是把当前目录下所有的文件及子目录都添加管理 4.git commit -m 'first commit'。提交的内容 5.git remote a ...
分类:
Web程序 时间:
2020-05-23 19:57:23
阅读次数:
67