页面顶部 Top

世界那么大 我想去看看

定阅此目录的博客 或者 Feedburner

分类: 所有 | 乱七八糟(52) | 计算机科学(163) | 生活(35) | 成功(18) | 有意思(24) | 怀念(4) | 分享(60) | 情与爱(14) | 新闻资讯(84) | 名人名言(92) | 知识问答(26) | 健康(6) | 图片(5) | 故事(6) | 视频(13) | 虚拟货币-区块链(1) |
共: 163 - 统计 | 存档
« 前一页 ( 页数 :  .. 2 3 4 5 6 7 8 9 10 11后一页 »

97 - 每日面试算法题: 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, | 英文 | 246 次阅读, 15875 次搜索 | 81 个单词

98 - 每日算法题 - 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, | 英文 | 843 次阅读, 15332 次搜索 | 136 个单词

99 - 每日算法题 - 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, | 英文 | 386 次阅读, 20315 次搜索 | 72 个单词

100 - 每日算法题 - 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, | 英文 | 294 次阅读, 16706 次搜索 | 54 个单词

101 - 每日算法题 - 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, | 英文 | 324 次阅读, 19830 次搜索 | 61 个单词

102 - 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, | 中文 | 262 次阅读, 32703 次搜索 | 189 个汉字

103 - 每日算法题 - 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, | 英文 | 734 次阅读, 16809 次搜索 | 80 个单词

104 - 每日算法题 - 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, | 英文 | 312 次阅读, 17063 次搜索 | 57 个单词

105 - 每日算法题 - 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, | 英文 | 293 次阅读, 18824 次搜索 | 74 个单词

106 - 每日算法题 - 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, | 英文 | 423 次阅读, 16273 次搜索 | 105 个单词

107 - 每日算法题 - Invert a Binary Tree - invert-a-binary-tree.txt

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

You are given the root of a binary tree. Invert the binary tree in place. That is, all left children should become right children, and all right children should become left children.

Example:
...
阅读全文>>

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

108 - 每日算法题 - Floor and Ceiling of a Binary Search Tree - floor-and-ceiling-of-a-binary-search-tree.txt

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

Given an integer k and a binary search tree, find the floor (less than or equal to) of k, and the ceiling (larger than or equal to) of k. If either does not exist, then print them as None.

Here is the definition of a node for the tree.
...
阅读全文>>

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

109 - 每日算法题 - Non-decreasing Array with Single Modification - non-decreasing-array-with-single-modification.txt

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

You are given an array of integers in an arbitrary order. Return whether or not it is possible to make the array non-decreasing by modifying at most 1 element to any value.

We define an array is non-decreasing if array[i] <= array[i + 1] holds for every i (1 <= i < n).
...
阅读全文>>

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

110 - 每日算法题 - Find the non-duplicate number - find-the-non-duplicate-number.txt

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

Given a list of numbers, where every number shows up twice except for one number, find that one number.

Example:
...
阅读全文>>

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

111 - 每日算法题 - Two-Sum - two-sum.txt

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

You are given a list of numbers, and a target number k. Return whether or not there are two numbers in the list that add up to k.

Example:
...
阅读全文>>

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

112 - 每日算法题 - Sorting a list with 3 unique numbers - sorting-a-list-with-3-unique-numbers.txt

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

Given a list of numbers with only 3 unique numbers (1, 2, 3), sort the list in O(n) time.

Example 1:
...
阅读全文>>

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


分类: 所有 | 乱七八糟(52) | 计算机科学(163) | 生活(35) | 成功(18) | 有意思(24) | 怀念(4) | 分享(60) | 情与爱(14) | 新闻资讯(84) | 名人名言(92) | 知识问答(26) | 健康(6) | 图片(5) | 故事(6) | 视频(13) | 虚拟货币-区块链(1) |
共: 163 - 统计 | 存档
« 前一页 ( 页数 :  .. 2 3 4 5 6 7 8 9 10 11后一页 »


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