找到约 10000 条结果
  • elixir基准测试记录
    elixir基准测试 代码见elixir_basic_benchmark 测试变量 {代码...} 总表 操作 耗时 10 members lists ++ 100 members lists 0.02μs 100w process dict get/put/delete 0.03μs map get 0.03μs map put/delete 0.05μs 100w ets set/bag/duplicate_bag read 0.1μs 100 members lists ++ 10 members lists 0.02μs 100w ets o...
    2019-07-29
  • 翻转字符串
    循环 {代码...} 递归 {代码...}
    2019-12-27
  • leetcode-98- Interleaving String
    """97. Interleaving StringDescriptionHintsSubmissionsDiscussSolutionGiven s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
    2018-02-25
  • [LintCode] Permutation in String
    Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string's permutations is the substring of the second string.
    2018-06-11
  • 【题解】洛谷 P1553 数字反转(升级版)
    洛谷 P1553 数字反转(升级版)题目链接思路模拟题,采用字符串输入,通过查找字符串中是否含有'/''.''%'字符,来分类处理。代码 {代码...}
    2020-10-26
  • 让 Mac 命令行说话
    复制下面的命令,在终端中运行即可。 {代码...} 不同的声音 {代码...} 唱歌~~ {代码...} 不同的声音 {代码...} 来源地址: Hacker News 以及 v2ex某帖
    2016-04-22
  • ERP系统在IC设计行业的必要性
    在当今这个科技日新月异的时代,集成电路(IC)设计行业作为信息技术发展的核心驱动力之一,正面临着前所未有的挑战与机遇。随着产品复杂度的提升、市场需求的快速变化以及全球供应链的紧密交织,如何高效管理设计资源、优化生产流程、提升响应速度,成为了IC设计企业亟需解决的问题。在此背景下,企业资源规划(ERP)系统的...
    2025-04-23
  • Interleaving String leetcode
    Given s1, s2, s3, find whether s3 is formed by the interleaving of s1and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When s3 = "aadbbbaccc", returnfalse.
    2016-01-13
    1
  • 【刷算法】LeetCode.155-最小栈
    题目描述 设计一个支持 push,pop,top 操作,并能在常数时间内检索到最小元素的栈。 {代码...} 示例: {代码...} 代码实现 {代码...}
    2018-08-27
  • C++:工业级编程语言的常青树
    一、C++ 的诞生与演化C++ 由丹麦计算机科学家 Bjarne Stroustrup 在 1979 年于贝尔实验室开发,初衷是为了解决 C 语言在复杂软件系统开发中抽象能力的不足。C++ 在 C 的基础上加入了面向对象编程(OOP)、模板编程、异常处理等特性,成为一门支持多种范式的强大语言。
    2025-04-13
  • LeetCode-097-交错字符串
    题目描述:给定三个字符串 s1、s2、s3,请你帮忙验证 s3 是否是由 s1 和 s2 交错 组成的。示例说明请见LeetCode官网。来源:力扣(LeetCode)链接:[链接]著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
    2021-11-10
  • [LeetCode] 567. Permutation in String
    Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string's permutations is the substring of the second string.Example 1:
    2018-10-28
  • golang中的切片
    在go中切片的底层是数组,所以切片的数据连续存储在数组的数据结构中。如果底层的数组满了,切片还需要添加元素的话,底层数组就需要扩容。如果底层数组几乎为空时,就会缩容。
    2022-10-20
    1
  • Python:从编程语言到全球开发者的工具箱
    一、Python 的起源与发展Python 由荷兰计算机科学家 Guido van Rossum 于 1989 年圣诞节期间开始设计,并在 1991 年发布了第一个公开版本。它的命名灵感并非来自蟒蛇,而是源自英国喜剧团体 Monty Python——Guido 是他们的忠实粉丝。Python 的设计哲学强调“优雅”、“明确”和“简单”,体现了“用一种方法,最好只有一种方法来...
    2025-04-13
  • [LeetCode] 97. Interleaving String
    Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
    2018-12-30
  • java中字符串的比较
    运行: java -ea StringCompareTest, -ea 表示启用断言 (enable assertion),java虚拟机默认是关闭断言的。
    2014-12-12
    1
  • mysql优化-(1)-慢查询日志工具-mysqldumpslow
    1. mysqldumpslow简介mysql安装好后自带的, perl工具.2. 查看命令用法:mysqldumpslow --help {代码...} 3. mysqldumpslow参数之-(1): -v或--verbose打印明细信息4. mysqldumpslow参数之-(2): -sal = 平均锁定时长ar=平均返送的rows数at=平均query时长c=sql查询总数(某一条sql查询了几次)r=返送的rows总数t=query的时间总...
    2020-09-10
  • C++:性能与抽象的完美平衡
    C++的历史与定位C++诞生于1979年,由贝尔实验室的Bjarne Stroustrup设计,最初被称为“C with Classes”。其目标是扩展C语言,引入面向对象编程(OOP)特性,同时保持与C的高效性和底层控制能力。1985年,C++首次商业化发布,随后成为系统级开发、游戏引擎、高频交易等领域的核心语言。
    2025-04-12
  • LTC流程如何借助易趋数字化项目管理平台落地
    ?LTC流程的核心价值在于构建了一个端到端的企业业务运营系统,不仅能满足客户需求、提供优质的产品和服务,还能大幅度提高运营效率、优化资源配置、降低运营成本以及促进业务增长。然而在实际管理中,由于其流程的复杂性、跨部门协作困难、信息系统不完善、系统集成难以及缺乏有效监控等一系列难点,导致LTC流程难以成功...
    2025-04-23
  • [LeetCode] Subtree of Another Tree
    Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. A subtree of s is a tree consists of a node in s and all of this node's descendants. The tree s could also be considered as a subtree of itself.
    2018-05-13