Problem description There are n students in a school class, the rating of the i-th student on Codehorses is ai. You have to form a team consisting of ...
分类:
其他好文 时间:
2018-06-02 12:58:35
阅读次数:
150
问题描述: Given an unsorted integer array, find the smallest missing positive integer. Example 1: Example 2: Example 3: Note: Your algorithm should run in ...
分类:
其他好文 时间:
2018-06-02 12:58:11
阅读次数:
165
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: "babad" Output: ...
分类:
其他好文 时间:
2018-06-02 12:55:40
阅读次数:
157
问题描述: A peak element is an element that is greater than its neighbors. Given an input array nums, where nums[i] ≠ nums[i+1], find a peak element and r ...
分类:
其他好文 时间:
2018-06-02 11:39:34
阅读次数:
163
博弈论中的乐趣 如何让计算机像人一样推理? 甲乙丙三个人身上贴着2,4,8三个数字,他们只能看见另外两个人身上的数字,看不见自己身上的数字,按照甲乙丙的顺序让三个人依次回答问题:“do you know the number of you ?”,他们只能回答“确定”,“不确定”。问谁最先知道自己身上 ...
分类:
其他好文 时间:
2018-06-02 11:34:31
阅读次数:
200
问题描述: You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the qua ...
分类:
其他好文 时间:
2018-06-02 11:31:43
阅读次数:
141
first!you must have node install and you'd better have the first stable versition ! 首先 打开官网npm install vue这样安装下去 ,不过不造现在为啥官网不推荐新手安装vue的脚手架了 如果想安装可以参考命 ...
分类:
其他好文 时间:
2018-06-02 11:26:55
阅读次数:
152
前言:Flutter官方文档里的一句话:you build your UI out of widgets(使用Flutter开发UI界面时,都是使用Widget),然而,Widget并不是我们真正看到的视图,背后究竟是什么?其实Flutter Framework提供了三种视图树,即:Widget E ...
分类:
其他好文 时间:
2018-06-02 11:25:59
阅读次数:
177
个人总结: 一个Javascript引擎由一个标准解释程序,或者即时编译器来实现。 解释器(Interpreter): 解释一行,执行一行。 编译器(Compiler): 全部编译成机器码,统一执行。(减少了切换和调度的开销,更快。) V8引擎是一种即时编译器。 V8引擎的优化策略: 1.内联:将函 ...
分类:
编程语言 时间:
2018-06-02 11:14:25
阅读次数:
239
https://linuxconfig.org/how-to-install-the-latest-nvidia-drivers-on-debian-9-stretch-linux ...
分类:
系统相关 时间:
2018-06-02 00:42:36
阅读次数:
213