码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
0041. First Missing Positive (H)
First Missing Positive (H) 题目 Given an unsorted integer array, find the smallest missing positive integer. Example 1: Input: [1,2,0] Output: 3 Example ...
分类:其他好文   时间:2020-06-27 09:31:04    阅读次数:53
浙大保研2019年上机题 7-2 Zigzag Sequence (25分)
7-2 Zigzag Sequence (25分) This time your job is to output a sequence of N positive integers in a zigzag format with width M in non-decreasing order. A ...
分类:其他好文   时间:2020-06-26 14:45:16    阅读次数:81
浙大保研2019年上机题 7-3 Is It An AVL Tree (25分)
7-3 Is It An AVL Tree (25分) In computer science, an AVL tree (Georgy Adelson-Velsky and Evgenii Landis' tree, named after the inventors) is a self-bal ...
分类:其他好文   时间:2020-06-26 14:44:26    阅读次数:84
浙大保研2019年上机题 7-1 Happy Numbers (20分)
7-1 Happy Numbers (20分) A happy number is defined by the following process: Starting with any positive integer, replace the number by the sum of the s ...
分类:移动开发   时间:2020-06-26 14:26:29    阅读次数:90
Leetcode: Numbers With Repeated Digits
description Given a positive integer N, return the number of positive integers less than or equal to N that have at least 1 repeated digit. Example In ...
分类:其他好文   时间:2020-06-25 14:09:06    阅读次数:65
leetcode 368. Largest Divisible Subset
Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or ...
分类:其他好文   时间:2020-06-21 22:53:58    阅读次数:60
0279. Perfect Squares (M)
Perfect Squares (M) 题目 Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. Exa ...
分类:其他好文   时间:2020-06-21 09:19:56    阅读次数:46
pat 1078
1078 Hashing (25分) The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of ...
分类:其他好文   时间:2020-06-17 12:38:08    阅读次数:61
Market Making is simpler than you think!
https://blog.quantinsti.com/market-making/ Over the past few years, you must have witnessed a sharp positive shift in the financial markets, mainly be ...
分类:其他好文   时间:2020-06-16 18:20:05    阅读次数:58
POJ - 1426 Find The Multiple
题目: Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. Y ...
分类:其他好文   时间:2020-06-16 12:50:35    阅读次数:58
2430条   上一页 1 ... 3 4 5 6 7 ... 243 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!