原文地址: http://www.nowcoder.com/discuss/5949 在阿里面试之前总结了一下内推同学的面经,把面试题总结到一块,并进行了分类。有些题目我也总结了一下答案,大家可以参考一下,仅仅参考就行了,因为可能自己知识储备不够,答案整理不够完整(也可能会有错误的地方,希 ...
分类:
其他好文 时间:
2018-07-26 18:30:11
阅读次数:
138
区间不重的ST表 https://discuss.codechef.com/questions/116821/segprod-editorial $\sum\limits_{i=0}^\infty \dfrac{x^i}{i!}=e^x$ so inverse series for it is $e ...
分类:
其他好文 时间:
2018-07-19 10:49:30
阅读次数:
1675
参考https://www.elastic.co/guide/en/elasticsearch/reference/5.0/modules-snapshots.htmlhttps://www.elastic.co/guide/en/elasticsearch/guide/current/_rolling_restarts.htmlhttps://blog.csdn.net/u014431852/a
分类:
其他好文 时间:
2018-07-09 12:43:07
阅读次数:
232
问题描述: Some people will make friend requests. The list of their ages is given and ages[i] is the age of the ith person. Person A will NOT friend reques ...
分类:
移动开发 时间:
2018-07-07 01:10:13
阅读次数:
220
1 要求算法复杂度比 O(n log n) 要好, 这就有点难了... 首先本来看题还挺简单, 不就是hash搞定, 结果看到最后 来个时间复杂度要求. 歇菜了 2 直接看答案了, discuss区第一名的答案直接就是On 的效率, 我只能说... 这帮人怎么这么聪明, 我怎么这么蠢 3 基本原理是 ...
分类:
其他好文 时间:
2018-07-05 01:21:37
阅读次数:
142
Let's play the minesweeper game (Wikipedia, online game)! You are given a 2D char matrix representing the game board. 'M' represents an unrevealed min ...
分类:
其他好文 时间:
2018-07-03 11:32:36
阅读次数:
254
1 我刚开始的思路是, 相邻的字符如果相同就去重, 然后循环 0 到 n, 首尾相等的话就不用额外打印; 例如 aaabbbaaa 先去重变为 aba , 循环第一个, a 打印一次, 第二个b 打印一次, 第三个a 发现和第一个相同, 不用打印; 然后提交时发现有些case没有通过测试; 后来总结 ...
分类:
其他好文 时间:
2018-06-30 17:46:22
阅读次数:
192
链接:https://www.nowcoder.com/discuss/84391?type=0&order=3&pos=16&page=0 一、自我介绍凸显学业背景中的隐含信息 一般的自我介绍会从学业背景讲起,候选人的常见开场白会是:面试官你好,我叫XX,我毕业于XX院校XX专业,获得了XX学位。 ...
分类:
其他好文 时间:
2018-06-20 18:33:20
阅读次数:
178
题解:三个点 对任选两个点求Lca 然后对于三种情况取最优的即可 1832: [AHOI2008]聚会 Description Y岛风景美丽宜人,气候温和,物产丰富。Y岛上有N个城市,有N-1条城市间的道路连接着它们。每一条道路都连接某两个城市。幸运的是,小可可通过这些道路可以走遍Y岛的所有城市。神 ...
分类:
其他好文 时间:
2018-06-18 00:29:09
阅读次数:
221
We can emulate different operating systems, browsers, and devices within a desktop operating system. We’re going to discuss iOS and Android options we ...
分类:
移动开发 时间:
2018-06-15 20:06:07
阅读次数:
230