ICode9

精准搜索请尝试: 精确搜索
  • 重复和非重复的FRB的统计比较2022-06-29 10:31:41

    重复和非重复的FRB的统计比较 arXiv:2206.13871 [pdf, other]The Statistical Similarity of Repeating and Non-Repeating Fast Radio BurstsKongjun Zhang, Longbiao Li, Zhibin Zhang, Qinmei Li, Juanjuan Luo, Min JiangComments: 29 pages,5 figures,published to

  • 一行代码的魅力 -- css2021-12-28 18:33:19

    <template> <div></div> </template>   <script> export default {   } </script>   <style lang="scss">   html {     height: 100%;     background: repeating-conic-gradient(rgb(255, 255, 255), rgb(0, 0, 0), rg

  • 3. Longest Substring Without Repeating Characters2021-12-13 01:02:46

    Question: Longest Substring Without Repeating Characters Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: s = "bbbbb" Output: 1 Explanation: The answer is &q

  • 【源码剖析】定时器 详解2021-10-17 11:31:06

    首先,本人来展示下 JDK所提供的定时器 的基本使用: 使用展示: 那么,本人现在来讲解下 JDK所提供的定时器的 底层核心源码: 源码详解: 使用总结: 根据上文讲解,我们能够知道,使用JDK所提供的 Timer 和 TimerTask 类,基本步骤如下: 根据具体需求,定义一个 TimerTask类 的 实现子类 构造 Tim

  • 使用repeating-linear-gradient创建一个条纹卡片效果2021-08-24 23:35:10

    使用repeating-linear-gradient创建一个条纹卡片效果 只使用了角度值和色标 <style> div{ border-radius: 20px; width: 70%; height: 400px; margin: 50 auto; background: repeating-linear-gradient( 45deg, // 角度值 yellow 0

  • CSS 还能这样玩?奇思妙想渐变的艺术2021-04-26 10:34:32

    在之前的这篇文章 -- 一行 CSS 代码的魅力 中,我们介绍了一种使用一行 CSS 代码就能够生成的一种美妙(也许奇怪更合适)的背景。 本文,将继续介绍背景的一些有意思的知识,利用一些极小的单位,只需要短短几行代码,就能够产生出美妙而又有意思的背景效果~ 数量级对背景图形的影响 本文的主角

  • 3. Longest Substring Without Repeating Characters2021-04-04 23:00:09

    3. Longest Substring Without Repeating Characters Medium 13757711Add to ListShare Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is &quo

  • 1655. Distribute Repeating Integers2021-02-14 15:04:36

    问题: 给定一组数,将其分配给多个用户, 每个用户要求quantity[i]个相同的数。 问是否能够分配完。 Example 1: Input: nums = [1,2,3,4], quantity = [2] Output: false Explanation: The 0th customer cannot be given two different integers. Example 2: Input: nums = [1,2,3,3

  • 424. Longest Repeating Character Replacement2021-02-02 22:04:36

    仅供自己学习   题目: Given a string s that consists of only uppercase English letters, you can perform at most k operations on that string. In one operation, you can choose any character of the string and change it to any other uppercase English character. F

  • repeating-linear-gradient2021-01-09 14:35:00

    第一对渐变颜色为yellow, 第二对渐变颜色为black div{ border-radius: 20px; width: 70%; height: 400px; margin: 50 auto; background: repeating-linear-gradient( 45deg, yellow 0px, yellow 40px, black 40px, black 80px );

  • 3. Longest Substring Without Repeating Characters2020-02-05 11:57:59

    Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: "bbbbb" Output: 1 Ex

  • 3. Longest Substring Without Repeating Characters2020-01-17 15:04:22

    Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb"Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: "bbbbb"Output: 1Explana

  • 3. Longest Substring Without Repeating Characters2019-11-03 12:01:05

    Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb"Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: "bbbbb"Output: 1Explana

  • 2019CCPC秦皇岛 J MUV LUV EXTRA(KMP)2019-09-28 20:00:42

    MUV LUV EXTRA Time Limit: 2000/1500 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 134    Accepted Submission(s): 49 Problem Description One day, Kagami Sumika is stuck in a math problem aiming at calculating the l

  • 3. Longest Substring Without Repeating Characters2019-08-10 15:57:42

    暴力 class Solution { public int lengthOfLongestSubstring(String s) { int the_max = 0; HashSet<Character> hs = new HashSet<Character>(); for (int i = 0; i < s.length(); i++) { hs.clear(); int y

  • java – 在四边形OpenGL上重复纹理2019-07-28 15:04:17

    我正在写一个体素引擎 我正在研究Chunk-Rendering-System,但我遇到了问题.似乎在四边形上重复了纹理. 草块底部有绿线,我不知道为什么. 这是OpenGL-Render-Code: Texture texture = TextureManager.getTexture(block.getTextureNameForSide(Direction.UP)); texture.bind(); GL11.g

  • Longest Substring Without Repeating Characters2019-07-26 11:50:28

    Longest Substring Without Repeating Characters leetcode Medium Given a string, find the length of the longest substringwithout repeating characters. Example 1: Input: "abcabcbb"Output: 3 Explanation: The answer is "abc", with the lengt

  • LC.424. Longest Repeating Character Replacement2019-06-10 08:49:21

    class Solution1(object): def characterReplacement(self, s, k): """ 这道题的核心是子串中,字串的长度减去出现最高频的次数要小于等于k 我们用一个长度为26的数组char_count去记录频次 用滑动窗口去确定当前的字串,当不满足条件时,

  • c# – 列出不应重复填充数据的列表2019-06-07 19:03:49

    我正在为类编程项目,我想通过随机生成数据为项目添加额外的东西.我的问题是我有一个列表,其中填充了相同数据的副本,即使每次创建新对象时它似乎都会生成完全不同的内容.当我尝试调试时,我遇到了非常奇怪的行为.这是我的代码: private void PopulateAtRandom(int amount) {

  • 在android中开发每日警报2019-05-21 14:18:00

    我有这段代码通过在另一个活动中使用TimePicker和DatePicker设置时间和日期来触发警报一次. 我希望以一种方式对其进行修改,即每当我设置时间和日期时,它每天都会同时触发警报.换句话说,我希望每天都能发出警报. public class M_ReminderManager { private Context mContext;

  • [Swift]LeetCode311. 稀疏矩阵相乘 $ Sparse Matrix Multiplication2019-04-14 17:40:28

    Given two sparse matrices A and B, return the result of AB. You may assume that A's column number is equal to B's row number. Example: A = [ [ 1, 0, 0], [-1, 0, 3]]B = [ [ 7, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 1 ]] | 1 0 0 | | 7 0 0 | |

  • *3. Longest Substring Without Repeating Characters2019-04-09 10:47:59

    1. 原始题目 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 输入: "abcabcbb"输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。 示例 2: 输入: "bbbbb"输出: 1解释: 因为无重复字符的最长子串是 "b",所以其长度为 1。 示例 3: 输入: "p

  • 3.Longest Substring Without Repeating Characters2019-04-08 16:40:54

    class Solution { public: int lengthOfLongestSubstring(string s) { int res = 0, left = -1, n = s.size(); unordered_map<int, int> m; for (int i = 0; i < n; ++i) { if (m.count(s[i]) && m[s[i]] > lef

  • [Swift]LeetCode718. 最长重复子数组 | Maximum Length of Repeated Subarray2019-03-11 12:51:26

    Given two integer arrays A and B, return the maximum length of an subarray that appears in both arrays. Example 1: Input:A: [1,2,3,2,1]B: [3,2,1,4,7]Output: 3Explanation: The repeated subarray with maximum length is [3, 2, 1].  Note: 1 <= len(A), len(

  • [Swift]LeetCode546. 移除盒子 | Remove Boxes2019-02-20 21:02:46

    Given several boxes with different colors represented by different positive numbers. You may experience several rounds to remove boxes until there is no box left. Each time you can choose some continuous boxes with the same color (composed of k boxes, k &

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

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

ICode9版权所有