最新 最热

「SF-LC」2 Induction

Whether or not it can be just simpl. depending on the definition of orb.

2022-03-14
1

Leetcode 题目解析之 Combinations

Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.

2022-03-07
0

Infor ERP LN中序号被占用怎么解决?

以前的BaaN 5时代可以直接找到First Free Number这个Session,在LN中需要从Numbers Group的Session中找到相应的序列,并修改其First Free Number。

2022-03-01
0

Leetcode 题目解析之 Perfect Squares

Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n.

2022-02-28
1

PAT(甲级)1121.Damn Single(25)

“Damn Single (单身狗)” is the Chinese nickname for someone who is being single. You are supposed to find those who are alone in a big party, so they can be taken c...

2022-02-25
0

PAT(甲级)1105.Spiral Maxtrix(25)

PAT 1105 Spiral Matrix(25) This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix is fil...

2022-02-25
0

Leetcode 题目解析之 Minimum Path Sum

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.

2022-02-16
0

Leetcode 题目解析之 Ugly Number II

Write a program to find the n-th ugly number.

2022-02-13
1

Leetcode 题目解析之 Ugly Number

Write a program to check whether a given number is an ugly number.

2022-02-13
0

为什么计算机要用2的补码(2's complement)

读mma8452q的datasheet的时候找到这样一句话:三个轴的数据,存储为12位2的补码。之前学计算机的时候第一节课就是关于原码、反码、补码的介绍,当时只知道个大概怎么转换,做这种题的时候也特别烦。至于为什么计算机中为什么...

2022-02-11
0