思路 本题解来自:面试题45. 把数组排成最小的数(自定义排序,清晰图解) 1 class Solution { 2 public: 3 string minNumber(vector<int>& nums) { 4 vector<string> vs; 5 for(int i = 0; i < n ...
分类:
编程语言 时间:
2020-11-08 17:55:22
阅读次数:
27
Given a string s, find the length of the longest substring without repeating characters. Input: s = "abcabcbb"Output: 3Explanation: The answer is "abc ...
分类:
其他好文 时间:
2020-11-08 17:44:10
阅读次数:
26
<a> 标签定义超链接,用于从一个页面链接到另一个页面。 HTML5 有一些新的属性,同时不再支持一些 HTML 4.01 的属性。 <a>标签属性 属性值描述 download filename 指定下载链接 href URL 规定链接的目标 URL hreflang language_code ...
分类:
其他好文 时间:
2020-11-08 17:05:28
阅读次数:
31
在本章中,我们将介绍以下内容: 创建自定义小部件 使用客户端QWeb模板 对服务器进行RPC调用 创建一个新视图 调试客户端代码 通过巡回演出提高新人入职能力 手机应用程序的JavaScript 介绍 Odoo的网络客户端,或后端,是员工花大部分时间的地方。在第10章后端视图中,你看到了如何使用后端 ...
分类:
Web程序 时间:
2020-11-08 16:56:35
阅读次数:
27
Ubuntu 上 Node.js 安装和卸载 1、Ubuntu 安装 Node.Js1.1、执行检查可更新的软件:sudo apt-get update 1.2、先用普通的apt工具安装低版本的node,然后再升级最新。sudo apt-get install nodejssudo apt inst ...
分类:
Web程序 时间:
2020-11-08 16:55:59
阅读次数:
27
class Solution { public List<List<Integer>> subsets(int[] nums) { List<List<Integer>> res = new ArrayList<>(); res.add(new ArrayList<>()); for(int i = ...
分类:
其他好文 时间:
2020-11-08 16:53:04
阅读次数:
16
一 准备一台虚拟机,可以连接外网,方便下载安装包 二 下载rabbitmq安装包及依赖包 wget https://erlang.org/download/otp_src_22.0.tar.gz wget http://ftp.gnu.org/gnu/make/make-4.2.tar.gz wge ...
分类:
其他好文 时间:
2020-11-08 16:41:45
阅读次数:
17
前端异步方法 在进行前端操作时主要的异步操作有: 定时器操作 ajax异步操作 事件绑定 回调(不严谨) 在使使用定时器以及ajax异步操作时,返回值会显示为空。 下面看这个例子: function testNormal(){ var str = "是否会显示?" return str } func ...
分类:
其他好文 时间:
2020-11-07 17:48:09
阅读次数:
32
package com.cn.demo; public class Circle { private double radius; public Circle() { } public Circle(double r) { this.radius=r; } public double getArea ...
分类:
其他好文 时间:
2020-11-07 17:45:27
阅读次数:
43
事件循环是asyncio提供的核心运行机制 column column asyncio.get_event_loop() 返回一个事件循环对象,时asyncio.BaseEventLoop的实例 AbstractEventLoop.stop() 停止运行事件循环 AbstractEventLoop. ...
分类:
其他好文 时间:
2020-11-07 17:43:04
阅读次数:
28