页面顶部 Top

世界那么大 我想去看看

定阅此目录的博客 或者 Feedburner

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

145 - 每日算法题: Merge List Of Number Into Ranges - merge-list-of-number-into-ranges.txt.txt

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

Given a sorted list of numbers, return a list of strings that represent all of the consecutive numbers.

Example:
...
阅读全文>>

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

146 - 每日算法题: Reverse Words in a String - reverse-words-in-a-string.txt.txt

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

Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order.

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

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

147 - 每日算法题: Room scheduling - room-scheduling.txt.txt

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

You are given an array of tuples (start, end) representing time intervals for lectures. The intervals may be overlapping. Return the number of rooms that are required.

For example. [(30, 75), (0, 50), (60, 150)] should return 2.
Top | 类别: 计算机科学 | 评论 (0) | 标签: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | 英文 | 78828 次阅读, 25689 次搜索 | 43 个单词

148 - 每日算法题: Running Median - running-median.txt.txt

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

You are given a stream of numbers. Compute the median for each new element .

Eg. Given [2, 1, 4, 7, 2, 0, 5], the algorithm should output [2, 1.5, 2, 3.0, 2, 2, 2]
...
阅读全文>>

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

149 - 每日算法题: Group Words that are Anagrams - group-words-that-are-anagrams.txt.txt

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

Given a list of words, group the words that are anagrams of each other. (An anagram are words made up of the same letters).

Example:
...
阅读全文>>

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

150 - 每日算法题: Minimum Removals for Valid Parenthesis - minimum-removals-for-valid-parenthesis.txt.txt

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

You are given a string of parenthesis. Return the minimum number of parenthesis that would need to be removed in order to make the string valid. "Valid" means that each open parenthesis has a matching closed parenthesis.

Example:
...
阅读全文>>

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

151 - 每日算法题: Find the Number of Islands - find-the-number-of-islands.txt.txt

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

Given a 2-dimensional grid consisting of 1's (land blocks) and 0's (water blocks), count the number of islands present in the grid. The definition of an island is as follows:
1.) Must be surrounded by water blocks.
2.) Consists of land blocks (1's) connected to adjacent land blocks (either vertically or horizontally).
...
阅读全文>>

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

152 - 每日算法题: Largest BST in a Binary Tree - largest-bst-in-a-binary-tree.txt.txt

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

You are given the root of a binary tree. Find and return the largest subtree of that tree, which is a valid binary search tree.

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

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

153 - 每日算法题: 3 Sum - 3-sum.txt.txt

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

Given an array, nums, of n integers, find all unique triplets (three numbers, a, b, & c) in nums such that a + b + c = 0. Note that there may not be any triplets that sum to zero in nums, and that the triplets must not be duplicates.

Example:
...
阅读全文>>

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

154 - 每日算法题: Word Ordering in a Different Alphabetical Order - word-ordering-in-a-different-alphabetical-order.txt.txt

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

Given a list of words, and an arbitrary alphabetical order, verify that the words are in order of the alphabetical order.

Example:
...
阅读全文>>

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

155 - 每日算法题: Sort Colors - sort-colors.txt.txt

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

Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue.

Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively.
...
阅读全文>>

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

156 - 每日算法题: Reconstrunct Binary Tree from Preorder and Inorder Traversals - reconstrunct-binary-tree-from-preorder-and-inorder-traversals.txt.txt

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

You are given the preorder and inorder traversals of a binary tree in the form of arrays. Write a function that reconstructs the tree represented by these traversals.

Example:
...
阅读全文>>

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

157 - 每日算法题: Count Number of Unival Subtrees - count-number-of-unival-subtrees.txt.txt

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

A unival tree is a tree where all the nodes have the same value. Given a binary tree, return the number of unival subtrees in the tree.

For example, the following tree should return 5:
...
阅读全文>>

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

158 - 每日算法题: Longest Substring With K Distinct Characters - longest-substring-with-k-distinct-characters.txt.txt

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

You are given a string s, and an integer k. Return the length of the longest substring in s that contains at most k distinct characters.

For instance, given the string:
...
阅读全文>>

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

159 - 2019年十大网络用语发布 - best-10-network-phrases-2019.txt.txt

12月2日,据教育部官网显示,国家语言资源监测与研究中心发布了“2019年度十大网络用语”。本次发布的十个网络用语依次为:不忘初心;道路千万条,安全第一条;柠檬精;好嗨哟;是个狼人;雨女无瓜;硬核;996;14亿护旗手;断舍离。

  据悉,“2019年十大网络用语”是基于国家语言资源监测语料库(网络媒体部分),采用“以智能信息处理技术为主,以人工后期微调为辅”的方式提取获得的。监测语料库包含了代表性网络论坛、网络新闻、博客等不同媒体形式的海量年度语言资源,用数据反映了年度流行网络用语的使用情况。其中,本次发布所涉及的网络论坛部分的数据就包含了超过40万个帖子,字符数超过5亿。

  “2019年十大网络用语”解读
...
阅读全文>>

Top | 类别: 有意思 | 评论 (0) | 标签: 网络用语, 2019, Top 10 Network Phrases, | 中文 | 84290 次阅读, 25093 次搜索 | 983 个汉字

160 - 一个公司即将要倒闭的征兆是什么? - when-a-company-is-about-to-fall.txt.txt

1、如果是小公司,你很明显就可以看出来。

比如工资突然拖欠,客户开始流失,你做的事情开始减少。

老板开始三天两头抓考勤,你迟到一分钟他可以训你一个小时。
...
阅读全文>>

Top | 类别: 知识问答 | 评论 (0) | 标签: 公司, 倒闭, 征兆, Company, Collapse, | 中文 | 80083 次阅读, 27693 次搜索 | 1285 个汉字


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


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