07 2020 档案
摘要:Docker 安装 ElasticSearch 拉取镜像 # 最新版本7,8.0 docker pull elasticsearch:7.8.0 启动集群 # 基本启动命令 # -e "discovery.type=single-node" \ 单节点集群 # -e ES_JAVA_OPTS="-X
阅读全文
摘要:ElasticSearch入门,仿京东搜索实战 项目源码已上传至Github,点此访问 项目介绍 此项目是跟随狂神ES课程入门所做的SpringBoot+ES+Vue实战项目,在视频的基础上,已实现前后端分离。功能比较简单,实现的基本的爬取+储存+搜索+高亮,未实现分页,若对ES已有一定的基础,可自
阅读全文
摘要:配置文件编写 为了提高工作效率,我们经常使用MybatisGenerator逆向工程为数据库表生成对应的实体类、DAO接口、Mapper映射文件,最重要的一个步骤就是编写generatorConfig.xml,这个文件有很多配置,今天就给大家一个最详细的模板,自己取其中必要部分即可,这个模板可当作参
阅读全文
摘要:题目 A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer k
阅读全文
摘要:题目 Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a give
阅读全文
摘要:题目 Given two strings S1 and S2 , S=S1 −S2 is defined to be the remaining string after taking all the characters in S2 from S1 . Your
阅读全文
摘要:题目 The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of the integers from 1 to N
阅读全文
摘要:题目 Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which
阅读全文
摘要:题目 Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed to outpu
阅读全文
摘要:题目 The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair o
阅读全文
摘要:题目 Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutting off
阅读全文
摘要:题目 Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When maki
阅读全文

浙公网安备 33010602011771号