页面顶部 Top

世界那么大 我想去看看

定阅此目录的博客 或者 Feedburner

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

76 - 每日算法题: Deepest Node in a Binary Tree - deepest-node-in-a-binary-tree.txt

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

You are given the root of a binary tree. Return the deepest node (the furthest node from the root).

Example:
...
阅读全文>>

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

77 - 每日算法题: Buddy Strings - buddy-strings.txt

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

Given two strings A and B of lowercase letters, return true if and only if we can swap two letters in A so that the result equals B.

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

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

78 - 每日算法题: Trapping Rainwater - tapping-rainwater.txt

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

You have a landscape, in which puddles can form. You are given an array of non-negative integers representing the elevation at each location. Return the amount of water that would accumulate if it rains.

For example: [0,1,0,2,1,0,1,3,2,1,2,1] should return 6 because 6 units of water can get trapped here.
...
阅读全文>>

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

79 - 每日算法题: Create a balanced binary search tree - create-a-balanced-binary-search-tree.txt

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

Given a sorted list of numbers, change it into a balanced binary search tree. You can assume there will be no duplicate numbers in the list.

Here's a starting point:
...
阅读全文>>

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

80 - 每日算法题: Merge K Sorted Linked Lists - merge-k-sorted-linked-list.txt

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

You are given an array of k sorted singly linked lists. Merge the linked lists into a single sorted linked list and return it.

Here's your starting point:
...
阅读全文>>

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

81 - 每日算法题: Contiguous Subarray with Maximum Sum - contiguous-subarray-with-maximum-sum.txt

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

You are given an array of integers. Find the maximum sum of all possible contiguous subarrays of the array.

Example:
...
阅读全文>>

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

82 - 每日算法题: Queue Using Two Stacks - queue-using-two-stacks.txt

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

Implement a queue class using two stacks. A queue is a data structure that supports the FIFO protocol (First in = first out). Your class should support the enqueue and dequeue methods like a standard queue.

Here's a starting point:
...
阅读全文>>

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

83 - 每日算法题: Maximum Profit From Stocks - maximum-profit-from-stocks.txt

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

You are given an array. Each element represents the price of a stock on that particular day. Calculate and return the maximum profit you can make from buying and selling that stock only once.

For example: [9, 11, 8, 5, 7, 10]
...
阅读全文>>

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

84 - 每日算法题: Merge Overlapping Intervals - merge-overlapping-intervals.txt

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

You are given an array of intervals - that is, an array of tuples (start, end). The array may not be sorted, and could contain overlapping intervals. Return another array where the overlapping intervals are merged.

For example:
...
阅读全文>>

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

85 - 每日算法题: Largest Product of 3 Elements I - largest-product-of-3-elements.txt

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

By the way, check out our NEW project AlgoPro (http://algopro.com) for over 60+ video coding sessions with ex-Google/ex-Facebook engineers.

You are given an array of integers. Return the largest product that can be made by multiplying any 3 integers in the array.
...
阅读全文>>

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

86 - 每日算法题: Spiral Traversal of Grid - spiral-traversal-of-grid.txt

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

By the way, check out our NEW project AlgoPro (http://algopro.com) for over 60+ video coding sessions with ex-Google/ex-Facebook engineers.

You are given a 2D array of integers. Print out the clockwise spiral traversal of the matrix.
...
阅读全文>>

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

87 - 每日算法题: Find the k-th Largest Element in a List - find-the-k-th-largest-element-in-a-list.txt

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

By the way, check out our NEW project AlgoPro (http://algopro.com) for over 60+ video coding sessions with ex-Google/ex-Facebook engineers.

Given a list, find the k-th largest element in the list.
...
阅读全文>>

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

88 - 一个刚毕业的计算机相关专业学生,简历上有哪些经历会加分? - what-is-a-good-resume-for-programmer.txt

有同学问我如何让简历加分,事实上这个问题之前分享过,再总结一下。下面的描述更多的是偏向于社招,不过对学生而言也有一定的参考价值。

首先简历这个东西,只是一个敲门砖,我们的目的是让面试官看上去产生好感,然后给我们一个面试的机会,简历不需要表达全部的自己,面试官一定是从面试中获取大量的情报来深入了解你。所以简历写到什么程度,我们的目标是相当明确的。

如何从简历中让人看出你【做成了】什么,以及你未来【可能做成】什么,以下几点可以参考:
...
阅读全文>>

Top | 类别: 计算机科学 | 评论 (0) | 标签: 计算机, 简历, Computer Science, Good Resume, Programming, | 中文 | 349 次阅读, 18227 次搜索 | 650 个汉字

89 - 每日算法题 Move Zeros - moving-zeros.txt

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

By the way, check out our NEW project AlgoPro (http://algopro.com) for over 60+ video coding sessions with ex-Google/ex-Facebook engineers.

Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
...
阅读全文>>

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

90 - 每日算法题 Remove k-th Last Element From Linked List - Remove-k-th-Last-Element-From-Linked-List.txt

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

You are given a singly linked list and an integer k. Return the linked list, removing the k-th last element from the list.

Try to do it in a single pass and using constant space.
...
阅读全文>>

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


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

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