找到约 10000 条结果
  • Bootstrap学习-实现Table 表格行拖拽效果
     一、业务需求及实现效果 项目涉及到订单模块,那天突然接到一个需求,说是两种不同状态的订单之间要实现插单的效果,页面上呈现方式是:左右两个Table,左边Table里面是状态为1的订单,右边Table里面是状态为2订单,左边Table里面的行数据拖动到右边Table里面指定行的位置,拖动完成后,左边表格减少一行,右边表格增加...
    2019-09-20
  • 聊一聊我在 B 站自学 Java 的经历吧
    Hey guys ,这里是 cxuan,欢迎你收看我最新一期的文章。这是一篇鸽了很久的文章。。。。。。事情还要从上回说起。。。。。。我爱 B 站!这篇文章我汇总了 B 站上计算机基础(操作系统、计算机网络、数据结构和算法、汇编等)学习视频,受到了很多小伙伴的认可和追更。甚至 CSDN 还有在催我更新的读者朋友所以这篇文章,...
    2021-07-07
    2
  • Recover Binary Search Tree@LeetCode
    一旦有两个位置的节点被交换了,那么中序遍历就会出现有两个:Node[i] > Node[i + 1]其中i是错误位置,Node[j] < Node[j - 1]其中j是错误位置,遵循这个规律,找到相应的Node[i]和Node[j]对其进行交换(只交换val值)即可。
    2015-04-19
  • 99. Recover Binary Search Tree
    Note:A solution using O(n) space is pretty straight forward. Could you devise a constant space solution?
    2016-07-05
  • [Leetcode - Tree] Binary Search Tree Iterator
    Binary Search Tree IteratorImplement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.
    2016-11-17
  • [LeetCode] 212. Word Search II
    Given a 2D board and a list of words from the dictionary, find all words in the board.
    2018-11-12
  • [LeetCode] 745. Prefix and Suffix Search
    Design a class WordFilter that supports one function, WordFilter.f(String prefix, String suffix). It will return the word with given prefix and suffix with maximum weight. If no word exists, return -1.
    2018-11-11
  • 173. Binary Search Tree Iterator
    Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.Calling next() will return the next smallest number in the BST.
    2019-02-14
  • [LintCode] Pow(x, n) [Binary Search]
    You don't need to care about the precision of your answer, it's acceptable if the expected answer and your answer 's difference is smaller than 1e-3.
    2016-02-21
  • Product advanced search implemented in Industry solution
    For example, I would like to check whether my user has enough authorization defined by authorization object s_carrid with value actvt = 03.
    2020-02-02
  • ffmpeg硬件编解码
    阅读本文之前,需要你 对 ffmpeg 工具集有一定的了解 熟悉 pkg_config 工具 熟悉源码编译步骤,能够思考并解决依赖链接相关问题 本文所述命令可能因为环境和时间问题导致不正确,需要你根据以上技能酌情解决。 安装 FFmpeg 的依赖 {代码...} 安装 Nvidia 显卡相关依赖 {代码...} 编译 ffmpeg {代码...} 验证 ffmpeg 是否...
    2019-12-24
  • LeetCode 81——搜索旋转排序数组 II
    当 nums[mid] = nums[right] 时,比如 [1, 1, 2, 1, 1],[1, 1, 0, 1, 1],为了找到正确的转折点,我们查看 [mid, right] 之间有没有不等于 nums[mid] 的值,若有,则继续向右查找;否则向左查找。
    2018-10-27
  • MySQL学习笔记-1-基本架构
    1、两阶段提交:redo log的写入拆成了两个步骤:prepare和commit。2、应用场景:数据库恢复和扩容。3、目的:怎样让数据库恢复到半个月内任意一秒的状态?4、如果不使用两阶段提交:数据库的状态就有可能和用它的日志恢复出来的库的状态不一致。
    2021-10-26
  • linux下coreseek遇到的错误和问题解决方案
    linux下coreseek遇到的错误和问题解决方案 1、测试mmseg分词的时候 执行 /usr/local/coreseek/bin/indexer -c etc/csft.conf –all 提示下面的错误: /usr/local/coreseek/bin/indexer: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory 原因:s...
    2020-03-14
  • WPF -- 一种实现本地化的方法
    本文介绍一种WPF程序实现本地化的方法。步骤首先,假设xaml文件中存在一个Button按钮,内容为“按钮”,实现本地化的步骤如下:展开程序的Properties,双击Resources.resx文件进行编辑;添加一条资源,名称为"btnContent",值为"按钮";右键复制Resources.resx然后粘贴,改名为Resources.en-US.resx;添加资源,名称为"btnC...
    2021-01-19
  • TensorRT 开始
    TensorRT 是 NVIDIA 自家的高性能推理库,其 Getting Started 列出了各资料入口,如下:本文基于当前的 TensorRT 8.2 版本,将一步步介绍从安装,直到加速推理自己的 ONNX 模型。安装进 TensorRT 下载页 选择版本下载,需注册登录。本文选择了 TensorRT-8.2.2.1.Linux.x86_64-gnu.cuda-11.4.cudnn8.2.tar.gz,可以注意到...
    2022-01-12
  • socket.io 之 engine.io
    engine.io 实现跨浏览器、跨设备双向通信层 通信:Emitter {代码...} transports base class [Transport] websocket {代码...}
    2018-06-27