1 """ 2 Given a sorted linked list, delete all duplicates such that each element appear only once. 3 Example 1: 4 Input: 1->1->2 5 Output: 1->2 6 Exam ...
分类:
其他好文 时间:
2020-02-07 19:14:50
阅读次数:
70
1.常用属性 2.Adapter接口 3.Demo演示 今天观看了GridView的相关视频,并且根据案例,进行了代码的编写和实例 新建GridViewActivity.java继承AppCompatActivity.java: package com.example.revrse.gridview ...
分类:
其他好文 时间:
2020-02-07 18:42:57
阅读次数:
77
# -*- coding: utf-8 -*- # flake8: noqa import qiniu from qiniu import CdnManager # 账户ak,sk access_key = '...' secret_key = '...' auth = qiniu.Auth(acc ...
分类:
编程语言 时间:
2020-02-07 17:08:35
阅读次数:
99
十大算法:https://blog.csdn.net/weixin_41317985/article/details/79461929 排序问题: 1.1冒泡排序冒泡排序算法就是依次比较大小,小的的大的进行位置上的交换。 var example=[8,95,34,21,53,12]; functio ...
分类:
编程语言 时间:
2020-02-07 16:23:48
阅读次数:
70
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 whic ...
分类:
其他好文 时间:
2020-02-07 10:41:25
阅读次数:
56
1.hadoop集群的启动 cd $HADOOP_HOME //进入hadoop安装目录 sbin/start-dfs.sh //启动hdfs sbin/start-yarn.sh //启动yarn (或start-all.sh) 集群关闭: cd $HADOOP_HOME //进入hadoop安装 ...
分类:
系统相关 时间:
2020-02-07 00:58:00
阅读次数:
114
Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Input:nums = ...
分类:
其他好文 时间:
2020-02-07 00:48:28
阅读次数:
65
1 """ 2 Intersection of Two Arrays 3 Given two arrays, write a function to compute their intersection. 4 Example 1: 5 Input: nums1 = [1,2,2,1], nums2 ...
分类:
其他好文 时间:
2020-02-06 23:00:09
阅读次数:
74
1 """ 2 Given a collection of intervals, merge all overlapping intervals. 3 Example 1: 4 Input: [[1,3],[2,6],[8,10],[15,18]] 5 Output: [[1,6],[8,10],[ ...
分类:
其他好文 时间:
2020-02-06 22:59:28
阅读次数:
72
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121Output: true ...
分类:
其他好文 时间:
2020-02-06 20:03:07
阅读次数:
83