package _interview_question /** * Check if a given array contains duplicate elements within k distance from each other. * Given an unsorted array that ...
分类:
其他好文 时间:
2020-07-17 01:23:35
阅读次数:
107
package LeetCode_279 import java.util.* import kotlin.collections.HashSet /** * 279. Perfect Squares * https://leetcode.com/problems/perfect-squares/d ...
分类:
其他好文 时间:
2020-07-17 01:15:12
阅读次数:
72
Running Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8597 Accepted: 3213 Description The cows are trying to become better athletes, so B ...
分类:
其他好文 时间:
2020-07-16 18:10:43
阅读次数:
60
布局网页时, 有时页面内容太少,无法将内容区域撑开,从而在 footer 下面留下一大块空白。 解决方法 flexbox HTML <body> <header>...</header> <section class="main-content">...</section> <footer>...< ...
分类:
其他好文 时间:
2020-07-16 12:05:56
阅读次数:
89
给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素不能使用两遍。 示例: 给定 nums = [2, 7, 11, 15], target = 9 因为 nums[0 ...
分类:
编程语言 时间:
2020-07-16 00:27:46
阅读次数:
93
Description A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit ...
分类:
其他好文 时间:
2020-07-16 00:05:52
阅读次数:
79
最近在新的.net Core 框架上开发,需要发送微信公众号模板消息,在此开发中,遇到了此问题: “微信公众号 throw exception when excuting local service: Common.IService.IWxMsgTemplateService.SendTemplat ...
分类:
微信 时间:
2020-07-15 23:59:09
阅读次数:
124
一、基础知识篇: Http Header之User-Agent User Agent中文名为用户代理,是Http协议中的一部分,属于头域的组成部分,User Agent也简称UA。它是一个特殊字符串头,是一种向访问网站提供你所使用的浏览器类型及版本、操作系统及版本、浏览器内核、等信息的标识。通过这个 ...
分类:
其他好文 时间:
2020-07-15 23:37:30
阅读次数:
247
DockerFile的指令 FROM # 基础镜像,一切从这里开始构建 MAINTAINER # 镜像的作者 RUN # 镜像构建的时候需要运行的命令 ADD # 镜像中需要自己添加的内容 WORKDIR # 镜像的工作目录 VOLUME # 挂载目录 EXPOST # 保留端口配置(在这里配置了, ...
分类:
其他好文 时间:
2020-07-15 15:03:09
阅读次数:
49
Node js with microservices Tech Node.js/ Express.js / Mongo DB/ Mongoose(ODM) /postman / bodypaser: to receive data from requirest 创建3个services , stud ...
分类:
Web程序 时间:
2020-07-15 13:08:55
阅读次数:
102