页面顶部 Top

世界那么大 我想去看看

定阅此目录的博客 或者 Feedburner

分类: 所有 | 乱七八糟(55) | 计算机科学(175) | 生活(35) | 成功(21) | 有意思(25) | 怀念(4) | 分享(63) | 情与爱(17) | 新闻资讯(96) | 名人名言(92) | 知识问答(26) | 健康(7) | 图片(5) | 故事(6) | 视频(13) | 虚拟货币-区块链(6) | 人工智能(3) |
共: 649 - 统计 | 存档
« 前一页 ( 页数 :  .. 8 9 10 11 12 13 14 15 16 17 18 .. ) 后一页 »

193 - 每日算法题 Witness of The Tall People - witness.txt

Hi, here's your problem today. This problem was recently asked by Google:

There are n people lined up, and each have a height represented as an integer. A murder has happened right in front of them, and only people who are taller than everyone in front of them are able to see what has happened. How many witnesses are there?

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (1) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | 英文 | 87795 次阅读, 32580 次搜索 | 94 个单词

194 - 每日算法题 Remove Consecutive Nodes that Sum to 0 - Remove-Consecutive-Nodes-that-Sum-to-0.txt

Hi, here's your problem today. This problem was recently asked by Uber:

Given a linked list of integers, remove all consecutive nodes that sum up to 0.

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | 英文 | 77354 次阅读, 38195 次搜索 | 146 个单词

195 - 怎么暗示和勾引男生? - how-to-seduce-boys.txt

我们这些老姑娘的法子,可能比小姑娘的更委婉一些,

毕竟万一被拒绝,面子上搁不住不是。

通常情况下是让他到家里吃饭,而且不能干巴巴的邀请,喂,来我家吃饭吧,这就不叫暗示了。
...
阅读全文>>

Top | 类别: 情与爱 | 评论 (0) | 标签: 暗示, 勾引, 男生, Zhihu, | 中文 | 74920 次阅读, 31575 次搜索 | 1123 个汉字

196 - 每日面试算法题: Falling Dominoes - falling-dominoes.txt

Hi, here's your problem today. This problem was recently asked by Twitter:

Given a string with the initial condition of dominoes, where:

. represents that the domino is standing still
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, | 英文 | 77972 次阅读, 26183 次搜索 | 117 个单词

197 - 每日面试算法题: Intersection of Linked Lists - intersection-of-linked-lists.txt

Hi, here's your problem today. This problem was recently asked by Apple:

You are given two singly linked lists. The lists intersect at some node. Find, and return the node. Note: the lists are non-cyclical.

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, | 英文 | 78879 次阅读, 33113 次搜索 | 136 个单词

198 - 每日面试算法题: Ways to Traverse a Grid - ways-to-traverse-a-grid.txt

Hi, here's your problem today. This problem was recently asked by Microsoft:

You 2 integers n and m representing an n by m grid, determine the number of ways you can get from the top-left to the bottom-right of the matrix y going only right or down.

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, | 英文 | 78324 次阅读, 33253 次搜索 | 80 个单词

199 - 每日面试算法题: Minimum Size Subarray Sum - minimum-size-subarray-sum.txt

Hi, here's your problem today. This problem was recently asked by Amazon:

Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn't one, return 0 instead.

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, | 英文 | 77282 次阅读, 27566 次搜索 | 81 个单词

200 - 每日算法题 - Word Search - word-search.txt

Hi, here's your problem today. This problem was recently asked by Amazon:

You are given a 2D array of characters, and a target string. Return whether or not the word target word exists in the matrix. Unlike a standard word search, the word must be either going left-to-right, or top-to-bottom in the matrix.

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, | 英文 | 64142 次阅读, 23860 次搜索 | 136 个单词

201 - 每日算法题 - Find Cycles in a Graph - find-cycles-in-a-graph.txt

Hi, here's your problem today. This problem was recently asked by Facebook:

Given an undirected graph, determine if a cycle exists in the graph.

Here is a function signature:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, | 英文 | 73836 次阅读, 31712 次搜索 | 72 个单词

202 - 每日算法题 - Longest Sequence with Two Unique Numbers - longest-sequence-with-two-unique-numbers.txt

Hi, here's your problem today. This problem was recently asked by Facebook:

Given a sequence of numbers, find the longest sequence that contains only 2 unique numbers.

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, | 英文 | 74057 次阅读, 31062 次搜索 | 54 个单词

203 - 每日算法题 - Create a Simple Calculator - create-a-simple-calculator.txt

Hi, here's your problem today. This problem was recently asked by Google:

Given a mathematical expression with just single digits, plus signs, negative signs, and brackets, evaluate the expression. Assume the expression is properly formed.

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, | 英文 | 77101 次阅读, 37600 次搜索 | 61 个单词

204 - Windows 10下注册32位OCX控件的方法 - how-to-register-32-bit-ocx-component-under-windows-10.txt

Windows 10下注册32位OCX控件的方法



 对于早期的32位Windows操作系统,我们可以直接注册OCX或DLL控件,但是在64位系统下是不可行的,而对于支持UAC(例如Windows 10等)的系统,就必须要复制到指定的目录,并使用管理员权限才能成功注册。

  对于64位Windows 10操作系统,具体方法是:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 注册OCX, 32位OCX/DLL控件, Windows 10, 32 bit OCX, DLL, Windows 10, Register OCX, | 中文 | 67308 次阅读, 78852 次搜索 | 189 个汉字

205 - 每日算法题 - Edit Distance I - edit-distance.txt

Hi, here's your problem today. This problem was recently asked by AirBNB:

Given two strings, determine the edit distance between them. The edit distance is defined as the minimum number of edits (insertion, deletion, or substitution) needed to change one string to the other.

For example, "biting" and "sitting" have an edit distance of 2 (substitute b for s, and insert a t).
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Problem, Data Structures and Algorithms, | 英文 | 62879 次阅读, 26854 次搜索 | 80 个单词

206 - 每日算法题 - Find Pythagorean Triplets - find-pythagorean-triplets.txt

Hi, here's your problem today. This problem was recently asked by Uber:

Given a list of numbers, find if there exists a pythagorean triplet in that list. A pythagorean triplet is 3 variables a, b, c where a^2 + b^2 = c^2

Example:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Problem, Data Structures and Algorithms, | 英文 | 74803 次阅读, 26663 次搜索 | 57 个单词

207 - 每日算法题 - Number of Ways to Climb Stairs - number-of-ways-to-climb-stairs.txt

Hi, here's your problem today. This problem was recently asked by LinkedIn:

You are given a positive integer N which represents the number of steps in a staircase. You can either climb 1 or 2 steps at a time. Write a function that returns the number of unique ways to climb the stairs.


...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Problem, Data Structures and Algorithms, | 英文 | 73963 次阅读, 34837 次搜索 | 74 个单词

208 - 每日算法题 - Maximum In A Stack - maximum-in-a-stack.txt

Hi, here's your problem today. This problem was recently asked by Twitter:

Implement a class for a stack that supports all the regular functions (push, pop) and an additional function of max() which returns the maximum element in the stack (return None if the stack is empty). Each method should run in constant time.


...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Problem, Data Structures and Algorithms, | 英文 | 74679 次阅读, 27135 次搜索 | 105 个单词


分类: 所有 | 乱七八糟(55) | 计算机科学(175) | 生活(35) | 成功(21) | 有意思(25) | 怀念(4) | 分享(63) | 情与爱(17) | 新闻资讯(96) | 名人名言(92) | 知识问答(26) | 健康(7) | 图片(5) | 故事(6) | 视频(13) | 虚拟货币-区块链(6) | 人工智能(3) |
共: 649 - 统计 | 存档
« 前一页 ( 页数 :  .. 8 9 10 11 12 13 14 15 16 17 18 .. ) 后一页 »


最后更新: May 11 2024 14:46:15 | RSS Subscription
牛排怎么做才好吃? | <meta name="机器人" content="不索引, 跟踪" />