找到约 10000 条结果
  • win7系统如何一键清理系统垃圾【系统天地】
    win7系统如何一键清理系统垃圾呢?使用电脑的每一步操作都会产生一定的垃圾,每次都要进行磁盘清理也挺麻烦的。所以一些电脑爱好者,发明了一件清理系统垃圾的小方法。今天,我就将这个方法分享给大家。
    2020-05-30
  • Leetcode 6. ZigZag Conversion
    这道题是要找出每个字符跳转的规律,还是比较好找的 关键是找到zigGap和zagGap {代码...}
    2016-10-10
  • [LeetCode] 538 100
    Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all keys greater than the original key in BST.
    2018-07-25
  • 数据结构--队列(数组)的一种实现
    单向队列(数组实现) {代码...} 环形队列(数组实现) {代码...}
    2021-06-20
  • 拓端数据tecdat:R语言Bass模型进行销售预测
    原文链接:[链接]原文出处:拓端数据部落公众号BASS扩散模型BASS扩散模型三个参数:最终购买产品的总人数m; 创新系数p; 和模仿系数q, {代码...} 将M的起始值设置为记录的总销售额。 {代码...} {代码...} {代码...} {代码...}
    2021-06-18
  • 变分预备知识 - KL散度
    首先看上式KL(p||q)的表达式,目标是希望KL(p||q)的值尽可能的小,但是在p(x)的值很大的情况下,为了保证KL(p||q)的值尽可能小,所以q(x)的值需要接近p(x),这样才能保证整个log(p(x)/q(x))整体变小。直观上来说,就是在p(x)的概率密度大的地方,它应该尽量与q(x)的概率密度保持一致,而在p(x)概率密度小的地方,p(x)和q(...
    2018-08-08
    1
  • 2. Q语言学习之路—基本数据类型: Atoms
    所有的数据都是通过最小单位atom构造。q语言中大部分数据类型与传统语言类似,但是多出了date和time相关的类型,用来加速时间序列运算。下表给出了q语言和几个传统语言数据类型的对比:
    2019-03-23
  • [LeetCode] Lowest Common Ancestor of a Binary Tree系列
    Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes v and w as the lowest node in T. that has both v and w as descendants (where we allow a ...
    2017-05-16
  • [LeetCode] 911. Online Election
    In an election, the i-th vote was cast for persons[i] at time times[i].
    2018-12-05
  • 机器学习第十讲:异常值检测 → 发现身高填3米的不合理数据
    机器学习第十讲:异常值检测 → 发现身高填3米的不合理数据资料取自《零基础学机器学习》。查看总目录:学习大纲关于DeepSeek本地部署指南可以看下我之前写的文章:DeepSeek R1本地与线上满血版部署:超详细手把手指南一、幼儿园量身高游戏比喻 👦(类似材料4中的数据处理[4])假设幼儿园老师收集小朋友身高: {代码...} ...
    2025-05-14
  • Leetcode 2. Add Two Numbers
    这个比较简单,掌握好循环条件以及进位条件。 {代码...}
    2016-10-04
  • LeetCode[138] Copy List with Random Pointer
    A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list
    2016-11-09
  • Leetcode[4] Median of two sorted arrays
    There are two sorted arrays nums1 and nums2 of size m and nrespectively.Find the median of the two sorted arrays. The overall run timecomplexity should be O(log (m+n)). Example 1: nums1 = [1, 3] nums2 = [2] The median is 2.0 Example 2: nums1 = [1, 2] nums2 = [3, 4] The median is (2 + 3)/2 = 2.5
    2018-01-29
  • 查询优化中的物化视图改写(一):SPJG的改写
    物化视图通过将预计算的结果存下来,能极大地减少查询的开销和时间。物化视图的查询优化问题是一个视图的匹配问题,即给定一个Query和一系列的物化视图,我们需要找到与之匹配的物化视图,并从物化视图中计算出相应的结果。
    2022-01-26
  • 寄存器和移位寄存器分析与建模
    ⭐本专栏针对FPGA进行入门学习,从数电中常见的逻辑代数讲起,结合Verilog HDL语言学习与仿真,主要对组合逻辑电路与时序逻辑电路进行分析与设计,对状态机FSM进行剖析与建模。🔥文章和代码已归档至【Github仓库:hardware-tutorial】,需要的朋友们自取。或者关注公众号【AIShareLab】,回复 FPGA 也可获取。
    2023-02-05
  • Leetcode 9. Palindrome Number
    这题好简单 {代码...}
    2016-10-13
  • EC 421经济理算法
    Problem Set 1: OLS ReviewEC 421: Introduction to EconometricsDue before midnight on Sunday, 19 April 2020DUE Upload your answer on Canvas before midnight on Sunday, 19 April 2020.IMPORTANT You must submit two files:
    2023-02-23