ICode9

精准搜索请尝试: 精确搜索
  • maven打包package时出现错误2020-11-04 15:02:01

    Some problems were encountered while building the effective model for com.ecjtu:adopt:war:1.0-SNAPSHOT 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.fasterxml.jackson.core:jackson-databind:jar -> duplicate

  • Algo 3-2: Common Graph Theory Problems (Overview)2020-10-01 04:31:58

                                                                 

  • 169. 多数元素2020-09-25 16:00:22

    地址:https://leetcode-cn.com/problems/majority-element/ <?php /** 给定一个大小为 n 的数组,找到其中的多数元素。多数元素是指在数组中出现次数大于 ⌊ n/2 ⌋ 的元素。 你可以假设数组是非空的,并且给定的数组总是存在多数元素。   示例 1: 输入: [3,2,3] 输出: 3 示

  • 1221. 分割平衡字符串2020-09-18 14:31:22

    地址:https://leetcode-cn.com/problems/split-a-string-in-balanced-strings/ <?php /** 在一个「平衡字符串」中,'L' 和 'R' 字符的数量是相同的。 给出一个平衡字符串 s,请你将它分割成尽可能多的平衡字符串。 返回可以通过分割得到的平衡字符串的最大数量。   示例 1: 输

  • 【LeetCode】20. 有效的括号2020-06-20 10:52:34

    链接: https://leetcode-cn.com/problems/valid-parentheses 描述: 给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。

  • 【LeetCode】12. 整数转罗马数字2020-06-16 10:09:20

    来源 https://leetcode-cn.com/problems/integer-to-roman 描述 罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。

  • eclipse 项目没错却有红叉(解决方法)2020-06-08 09:07:15

    eclipse如何去掉无用的validation、优化eclipse 注意:本经验使用的eclipse版本为 Eclipse Java EE IDE for Web Developers. Version: Luna Service Release 1 (4.4.1) Build id: 20140925-1800   我们在eclipse里经常看到这个进程,validating... 逐个的检查每一个文件。

  • 242. 有效的字母异位词2020-06-03 21:02:28

    地址:https://leetcode-cn.com/problems/valid-anagram/ <?php /** * 给定两个字符串 s 和 t ,编写一个函数来判断 t 是否是 s 的字母异位词。 * * 示例 1: * * 输入: s = "anagram", t = "nagaram" * 输出: true * 示例 2: * * 输入: s = "rat", t = "car" *

  • 3. 无重复字符的最长子串2020-04-25 19:01:05

    https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ 暴力 滑动窗口 动态规划解法

  • leetcode 692020-04-18 16:55:24

    https://leetcode-cn.com/problems/sqrtx/ 69. x 的平方根  难度:EASY 本题可以有两个方法解决: 1. 二分查找法 2. 牛顿迭代法

  • 88. 合并两个有序数组2020-04-10 18:00:17

    地址:https://leetcode-cn.com/problems/merge-sorted-array/ <?php /** 给你两个有序整数数组 nums1 和 nums2,请你将 nums2 合并到 nums1 中,使 nums1 成为一个有序数组。 说明: 初始化 nums1 和 nums2 的元素数量分别为 m 和 n 。 你可以假设 nums1 有足够的空间(空间大小大

  • LeetCode202004062020-04-06 20:03:23

    CanChen ggchen@mail.ustc.edu.cn   Leetcode Coding is an essential skill for research and I found this article very useful. From today on, I am going to ace leetcode problems in Google(71) and Microsoft(58), and then write a blog to record my process. At

  • 第二十课字符串2020-04-05 21:01:59

    字符串 基础知识 Python: x = ‘abbc’ x = “abbc” Java: String x = “abbc”; C++: string x(“abbc”); 遍历字符串 Python: for ch in “abbc”: print(ch) Java: String x = “abbc”; for (int i = 0; i < x.size(); ++i) { char ch = x.charAt(i); } for ch

  • 力扣刷题2020-04-02 18:01:27

    工作级: 【搜索推荐系统】 https://leetcode-cn.com/problems/search-suggestions-system/ 【飞地的数量】 https://leetcode-cn.com/problems/number-of-enclaves/ 【复原IP地址】 https://leetcode-cn.com/problems/restore-ip-addresses/ 专业: 【飞地的数量】 https://leetcode-

  • Maven项目依赖-pom.xml报错:inspects a maven model for resolution problems2020-04-01 17:56:07

    Maven项目依赖问题解决- pom.xml报错:inspects a maven model for resolution problems 解决: 左侧栏打开Project--》对于pom.xml右键--》选Maven--》选Download Sources and  Documentation  然后再选择Reimport  

  • 未分类——数组2020-03-20 21:58:09

    554. 砖墙-可信考试题目https://leetcode-cn.com/problems/brick-wall/939. 最小面积矩形https://leetcode-cn.com/problems/minimum-area-rectangle/ 数组:73. 矩阵置零https://leetcode-cn.com/problems/set-matrix-zeroes/solution/162. 寻找峰值https://leetcode-cn.com/proble

  • Maven pom.xml:报错: Inspection info: Inspects a Maven model for resolution problems.2020-03-17 12:38:33

    Maven pom.xml:报错: Inspection info: Inspects a Maven model for resolution problems.

  • 第02期 基础算法(Leetcode)刻意练习开营计划2020-02-24 21:06:47

    背景 如果说 Java 是自动档轿车,C 就是手动档吉普。数据结构与算法呢?是变速箱的工作原理。你完全可以不知道变速箱怎样工作,就把自动档的车子从 A 开到 B,而且未必就比懂得的人慢。写程序这件事,和开车一样,经验可以起到很大作用,但如果你不知道底层是怎么工作的,就永远只能开车,既

  • 习题8-8 判断回文字符串2020-01-14 19:57:34

    https://pintia.cn/problem-sets/12/problems/342   1 bool palindrome(char *s) 2 { 3 int n, i, k; 4 bool ret; 5 6 n = strlen(s); 7 i = 0; 8 k = n - 1; 9 while (i <= k) 10 { 11 if (s[i] != s[k]) 12 { 1

  • Codeforces Round #610 (Div. 2) C. Petya and Exam2019-12-25 20:54:24

    链接: https://codeforces.com/contest/1282/problem/C 题意: Petya has come to the math exam and wants to solve as many problems as possible. He prepared and carefully studied the rules by which the exam passes. The exam consists of n problems that can be solved

  • LeetCode刷题-每周复盘2019-12-25 10:01:48

    本周题目归档 00007 整数反转 00028 实现 strStr() 00027 移除元素 00387 字符串中的第一个唯一字符 00206 反转链表 00160 相交链表 00088 合并两个有序数组 00088 合并两个有序数组 00001 两数之和 00167 两数之和 II - 输入有序数组 00007 整数反转 题目描述 给出一个 3

  • LeetCode-二叉树2019-09-24 10:00:54

    二叉树的遍历,注意递归和非递归两种思路。 94. Binary Tree Inorder Traversal 二叉树中序遍历 https://leetcode.com/problems/binary-tree-inorder-traversal/ 题目:给定二叉树,返回节点值的中序遍历。 思路: class Solution { public List<Integer> inorderTraversal(TreeNode

  • Thinking about the Beauty of Math and things I wanna do2019-08-31 13:52:55

    I didn't know much about the book til I read it. Originally I thought the book was purely full of equations, formula and things about maths, but it's a surprise that the book contains lots of content about NLP. No wonder my teacher in NLP Lab re

  • HDOJ 6651 Final Exam2019-08-12 21:35:32

    题目链接 Problem Description Final Exam is coming! Cuber QQ has now one night to prepare for tomorrow’s exam. The exam will be a exam of problems sharing altogether m points. Cuber QQ doesn’t know about the exact distribution. Of course, different pr

  • An Introductory Survey on Attention Mechanisms in NLP Problems【论文笔记】2019-07-22 15:02:35

    一、摘要   注意力机制可以被用来编码序列数据基于每个元素的重要性分数,已经被广泛用于NLP中的各种任务。本篇论文,作者介绍了各种attention,探索他们之间的联系并且评估其性能。 二、介绍   作者通过举了机器翻译的例子介绍为什么要用attention机制。传统的机器翻译方法

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有