码迷,mamicode.com
首页 >  
搜索关键字:example    ( 17798个结果)
[LeetCode] 965. Univalued Binary Tree
Easy A binary tree is univalued if every node in the tree has the same value. Return true if and only if the given tree is univalued. Example 1: Examp ...
分类:其他好文   时间:2019-09-24 17:26:33    阅读次数:80
论文阅读 | Adversarial Example Generation with Syntactically Controlled Paraphrase Networks
[pdf] [code] 句法控制释义网络 SCPNS 生成对抗样本 我们提出了句法控制意译网络(SCPNs),并利用它们来生成对抗性的例子。给定一个句子和一个目标语法形式(例如,一个选区解析),scpn经过训练,可以用所需的语法产生句子的释义。我们展示了为这个任务创建训练数据是可能的,首先在非常大 ...
分类:Web程序   时间:2019-09-24 17:25:42    阅读次数:110
[LC]203题 Remove Linked List Elements (移除链表元素)(链表)
①英文题目 Remove all elements from a linked list of integers that have value val. Example: ②中文题目 删除链表中等于给定值 val 的所有节点。 示例: ③思路 1、加入链表为空,那么直接返回head。 2、考虑6, ...
分类:其他好文   时间:2019-09-24 14:27:17    阅读次数:93
git传输远程仓库
太久没用git了,都忘记了git怎么用了,正好最近在Linux学习中涉及到了相关的知识,这里把文件通过git上传到GitHub远程仓库的步骤记录一下 1.首先初始化仓库 2.设置连接远程仓库SSH/HTTP连接路径(这个具体路径直接从GitHub上复制即可) 3.配置用户信息 4.将文件添加到索引 ...
分类:其他好文   时间:2019-09-24 10:27:27    阅读次数:73
java实现直接插入排序
1 package com.example.demo; 2 3 public class InsertSort { 4 public void insertSort(int[] arr) { 5 int i, j; 6 for (i = 0; i < arr.length; i++) { 7 int... ...
分类:编程语言   时间:2019-09-23 22:23:44    阅读次数:107
LeetCode 49. Group Anagrams HashTable
Given an array of strings, group anagrams together. Example: All inputs will be in lowercase. The order of your output does not matter. 解法: 首先遍历输入,同时对 ...
分类:其他好文   时间:2019-09-23 11:38:29    阅读次数:92
01_LinkedList
? Linked List Reverse Linked List "link" Reverse a singly linked list. Example: Follow up: A linked list can be reversed either iteratively or recursi ...
分类:其他好文   时间:2019-09-23 09:26:28    阅读次数:88
spring cloud集成canal
前提 win运行canal 加入canal依赖 把ip、端口、监听表名做成配置文件 代码实现 新增 修改 删除 注意:拿到的值都是字符串,建议拿到id反查数据库,拿到对象再同步到自己的缓存。 ...
分类:编程语言   时间:2019-09-22 23:24:10    阅读次数:237
[LC] 46. Permutations
Given a collection of distinct integers, return all possible permutations. Example: Solution 2: ...
分类:其他好文   时间:2019-09-22 23:11:46    阅读次数:105
字符串按单词逆序
leetcode 151. https://leetcode.com/problems/reverse-words-in-a-string/ Example 1: Example 2: Example 3: ...
分类:其他好文   时间:2019-09-22 21:48:21    阅读次数:122
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!