话不多说,直接看差别,下面用的暴力法,上面是用差分法,数学问题,其实也没太看懂具体什么原理 看程序,只能有一点粗浅的认识 class Solution { public int[] corpFlightBookings(int[][] bookings, int n) { int[] nums = Read More
posted @ 2021-08-31 21:40 K峰 Views(323) Comments(0) Diggs(0)
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode() {} * TreeNode(int val) { Read More
posted @ 2021-08-31 15:38 K峰 Views(101) Comments(0) Diggs(0)