1 package solution47;
2 import java.util.*;
3 class Solution {
4 public int solution(int n, int[] nums1, int[] nums2) {
5 HashMap<Integer, Integer> map = new HashMap<Integer
转载
2020-03-07 17:11:00
88阅读
2评论
1 package solution43;
2 import java.util.*;
3 class Solution {
4 public int solution(int a,int b,int c) {
5 int df1 = Math.abs(a-b);
6 int df2 = Math.abs(b-c);
7 int d
转载
2020-03-07 05:46:00
75阅读
2评论
1 package solution37;
2
3 class Solution {
4 public int solution(int n,int[] a) {
5 int[] preSum = new int[n+1];
6 for(int i=1;i<=n;i++){
7 preSum[i] = preS
转载
2020-03-06 08:37:00
78阅读
2评论
1 package solution41;
2 import java.util.Stack;
3 class Solution {
4 public int solution(String str) {
5 Stack<Character> S = new Stack<Character>();
6 int count
转载
2020-03-06 18:19:00
63阅读
2评论
1 package solution46;
2 import java.util.*;
3 class Solution {
4 public long solution(int n,long[] nums) {
5 long maxNum = 0;
6 long maxSecNum = 0;
7 HashMap<L
转载
2020-03-07 08:20:00
68阅读
2评论
1 package solution44;
2
3 import java.util.*;
4 class Solution {
5 public int solution(int n,int[] nums) {
6 Arrays.sort(nums);
7 int maxVal = nums[n-1];
8 int su
转载
2020-03-07 05:58:00
45阅读
2评论
1 package solution45;
2 import java.util.*;
3 class Solution {
4 public int solution(int n, int[] nums) {
5 HashMap<Integer, Integer> map = new HashMap<Integer, Integer>(
转载
2020-03-07 06:18:00
95阅读
2评论
1 package solution39;
2
3 class Solution {
4 public int solution(String s1,String s2) {
5 int n1 = s1.length();
6 int n2 = s2.length();
7 int count = 0;
8 int
转载
2020-03-06 10:20:00
66阅读
2评论
1 package solution34;
2
3 class Solution {
4 public int solution(int[][] m) {
5 int row = m.length;
6 int column = m[0].length;
7 int[][] dp = new int[row][column]
转载
2020-03-04 16:25:00
69阅读
2评论
1 package solution35;
2
3 import java.util.LinkedList;
4
5 public class Solution {
6 public LinkedList<Integer> list = new LinkedList<Integer>();
7 public void inOrder(Tr
转载
2020-03-05 06:03:00
57阅读
2评论
目标熟悉容器服务的基本概念练习通过容器服务实现持续集成的过程准备工作容器服务控制台容器服务控制台镜像管理平台阿里Code帮助文档产品概念解释注意事项:预计耗费的费用容器服务暂时不收费;演示过程中会创建ECS实例和SLB,按量收费。步骤1. 创建集群为了方便使用,我们已经帮用户创建了一个集群。打开容器服务控制台,点击左侧导航栏中的“集群”,查看集群是否处于运行状态。2. 创建alicode代码库您可
转载
2024-03-11 14:16:12
33阅读