首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏总栏目

    Selection Sort

    The algorithm should be based on the following pseudocode: SelectionSort(A) 1 for i = 0 to A.length-1 Your program should also print the number of swap operations defined in line 6 of the pseudocode in the

    50910编辑于 2022-09-05
  • 来自专栏总栏目

    Bubble Sort

    The algorithm should be based on the following pseudocode: BubbleSort(A) 1 for i = 0 to A.length-1 2     Your program should also print the number of swap operations defined in line 4 of the pseudocode.

    61510编辑于 2022-09-05
  • 来自专栏图像处理与模式识别研究所

    K-均值聚类算法的MATLAB的实现。

    sokar@aiia.csd.auth.gr % % This is an implementation of the k-means algorithm straight from the % pseudocode sokar@aiia.csd.auth.gr> % % This is my implementation on the k-means algorithm straight from the % pseudocode

    88630编辑于 2022-05-28
  • 来自专栏YoungGy

    MLNG_线性回归_梯度下降_正规方程组

    So, it’s much more quickly than batch gradient descent. pseudocode pseudocode is : while True: #repeat

    94830发布于 2019-05-26
  • 来自专栏嘘、小点声

    日常记录(15)常用算法

    分为轮询仲裁器(Round-Robin)和固定优先级仲裁器(Fixed-Priority) 固定优先级仲裁器(Fixed-Priority) 好弄一点 //pseudocode if(req[0]) grant

    52510编辑于 2021-12-20
  • 来自专栏自译文章/自学记录

    Condition Lock

    */ state = GOOD; pthread_mutex_unlock(mx); signal_event(); /* expecting to wake thread 1 up */ This pseudocode

    80210发布于 2019-08-26
  • 来自专栏从流域到海域

    Bellman-Ford algorithm

    Pseudocode of Bellman-Ford Algorithm d[s] <- 0 for each v ∈ V-{s} do d[v] <- ∞ for i <- 1 to |V|-1

    72620发布于 2019-05-28
  • 来自专栏重归混沌

    行为树的一种高效实现

    Sequence节点: 当执行Sequence节点时,从左往右顺序执行子节点,直到某一个子节点返回Failure或Running状态,伪码如下: //Algorithm 1: Pseudocode of return Success Fallback节点:当执行Fallback节点时,从左往右顺序执行子节点,直到某一个子节点返回Success or Running状态,伪码如下: //Algorithm 2: Pseudocode

    2.2K10编辑于 2022-04-12
  • 来自专栏ek1ng的技术小站

    记录一道有趣的算法题——图转换与spfa

    . • OUTPUT: distG(x,y) The Problem: Write pseudocode for an algorithm that solves the above problem in WHAT TO WRITE: you need to write pseudocode for your algorithm, and whenever you run DAG-SP(H,s) make that’s that it’s very clear from your pseudocode what your graph H is and what the source s is.

    37510编辑于 2022-08-10
  • 来自专栏游戏杂谈

    as3翻牌动画

    ---------------------------------------------------- 主要利用了rotationY属性来进行处理,Pseudocode: 1: import com.greensock

    1.3K20发布于 2018-11-16
  • 来自专栏从流域到海域

    Dynamic Programming中的 Bellman-Ford算法

    Shortest Paths with negative weights Dynamic Programming Pseudocode // Shortest paths with negative edges

    93930发布于 2019-05-28
  • 来自专栏重生信息安全

    0x3 Python教程:Fuzzer

    这是我们的基本入门脚本/ Pseudocode: 上述脚本可以用于几种不同类型的服务。您可以根据要模糊的类型服务来构建脚本。

    1K20发布于 2020-04-26
  • 来自专栏前端真相

    计算机英语

    舍入误差 Quotient 商数 Remainder 余数 Single Quotes 单引号 palindrome 回文 MultiDimensional Arrays 多维数组 pseudocode

    1K30发布于 2019-02-21
  • 来自专栏前端之旅

    翻译术语表

    enumerated 可枚举的 distributed version control system(VCS) 分布式版本控制系统 roll back 回滚 cross-platform 跨平台的 pseudocode

    70410发布于 2019-11-07
  • 来自专栏Owen's World

    Telegram-iOS 第 2 部分的源代码演练:SSignalKit

    其签名可视为以下内容:: // pseudocode public final class Signal<T, E> { public init(_ generator: @escaping(Subscriber // pseudocode public final class Subscriber<T, E> { private var next: ((T) -> Void)! 通过 Swift 的尾随关闭支持,所有操作员都可以通过直观的可读性进行管道传输:|> // pseudocode let anotherSignal = valueSignal |> filter

    2.9K20编辑于 2021-12-08
  • 来自专栏总栏目

    Insertion Sort

    The algorithm should be based on the following pseudocode: for i = 1 to A.length-1 key = A[i] /* insert

    36320编辑于 2022-09-05
  • 来自专栏算法之美

    每日一题:堆排序中建堆过程的时间复杂度是

    array A D h27;17;3;16;13;10;1;5;7;12;4;8;9;0i. 6.2-2 Starting with the procedure MAX-HEAPIFY, write pseudocode

    96210发布于 2021-06-25
  • 来自专栏小樱的经验随笔

    Codeforces Round #412 (rated, Div. 2, base on VK Cup 2017 Round 3)(A.B.C,3道暴力题,C可二分求解)

    Then the following pseudocode will be executed: i := (s div 50) mod 475 repeat 25 times: i := (i As the result of pseudocode execution, 25 integers between 26 and 500, inclusive, will be printed. In this case, according to the pseudocode, the T-shirts will be given to the participants at the following

    1.3K70发布于 2018-04-09
  • 来自专栏Hank’s Blog

    1.6 Navigating This Book(本书导航)

    Pseudocode(伪代码) wiki:伪代码 baidu:伪代码 Syntactic sugar(语法糖) 在不添加新特征的前提下,让代码更方便易用的编程语法。

    48720发布于 2020-09-16
  • 来自专栏龙进的专栏

    算法与数据结构之计数排序

    Please see the following pseudocode for the detail: Counting-Sort(A, B, k) 1    for i = 0 to k 2        

    30130编辑于 2022-10-31
领券