页面顶部 Top

世界那么大 我想去看看

定阅此目录的博客 或者 Feedburner

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

89 - 每日算法题 Tree Serialization - tree-serialization.txt

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

You are given the root of a binary tree. You need to implement 2 functions:

1. serialize(root) which serializes the tree into a string representation
...
阅读全文>>

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

90 - 每日算法题 Arithmetic Binary Tree - arithmetic-binary-tree.txt

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

You are given a binary tree representation of an arithmetic expression. In this tree, each leaf is an integer value,, and a non-leaf node is one of the four operations: '+', '-', '*', or '/'.

Write a function that takes this tree and evaluates the expression.
...
阅读全文>>

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

91 - 你们身边有舔狗舔到最后应有尽有的例子吗? - tiangou.txt


我前女友的现任老公。

我见过的最强大的舔狗了。

...
阅读全文>>

Top | 类别: 情与爱 | 评论 (0) | 标签: 舔狗, love story, | 中文 | 3317 次阅读, 24181 次搜索 | 5598 个汉字

92 - 我的逗逼考研经历 - just-a-story.txt

突然发现明天是研究生入学笔试日。在考研这件事上我有丰富的经验,包括失败的经验、成功的经验、以及出题的经验、面试的经验等等。我的读者分布主要在20-35岁之间,相信大多数人都有亲朋好友明天要上场,甚至自己要上场。把我的逗逼经历写给你们看一下,你们也转发一下,帮助缓解一下焦虑情绪也是好的。

第一次是大四,考的是本校本专业,按部就班复习都比较顺利。当时专业里大概三分之一人准备出国,三分之一人考研,还有三分之一人直接就业。考研的人里面只要认真复习的几乎都上了,好几个还在辅导班里顺便捡到了外校女朋友——颜值比我们学校的平均水平高很多。我总分还不错但倒霉在数学这门课成绩特别差,单科没有过线,比我正常水平要低20分以上,但当时没有查卷服务,只能作罢。

在要不要二战这件事上我稍微犹豫了一下,但很快决定要上。其实当时我已经拿了华为等几个公司的offer,参照同批去的同学现状,应该是错过了最简单的一次财务自由机会。
...
阅读全文>>

Top | 类别: 分享 | 评论 (0) | 标签: 考研经历, Story, | 中文 | 969 次阅读, 17870 次搜索 | 1483 个汉字

93 - 为什么越来越多离婚带孩子的女人选择不再结婚? - why-divorced-women-do-not-choose-to-marry-again.txt

我是一个34岁的单亲妈妈,带着一个13个月的女儿,在北京生活。

已离婚8个半月。

先交代一下背景:
...
阅读全文>>

Top | 类别: 知识问答 | 评论 (0) | 标签: 离婚带孩子, 不再结婚, 女人, Divorced women, marriage, | 中文 | 356 次阅读, 17726 次搜索 | 1156 个汉字

94 - 每日算法题 Angles of a Clock - -angles-of-a-clock.txt.txt

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

Given a time in the format of hour and minute, calculate the angle of the hour and minute hand on a clock.


...
阅读全文>>

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

95 - 每日算法题 Longest Increasing Subsequence - longest-increasing-subsequence.txt.txt

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

You are given an array of integers. Return the length of the longest increasing subsequence (not necessarily contiguous) in the array.

Example:
...
阅读全文>>

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

96 - 有没有人装逼正好撞到你擅长的领域上的? - zhuangbi.txt.txt

前两年去某县里,参加同学的婚礼。

因为旅途比较远,前一天下午出发了,路上下着雨,到了的时候,天已经大黑了。

新郎官还有一波同事,和我们坐在一桌流水席。大家准备一起吃完饭,去给新郎帮忙贴喜字,压井盖。
...
阅读全文>>

Top | 类别: 分享 | 评论 (0) | 标签: 擅长的领域, 装逼, Zhuang B, | 中文 | 1454 次阅读, 18074 次搜索 | 873 个汉字

97 - 每日算法题: Given two arrays, write a function to compute their intersection. - given-two-arrays,-write-a-function-to-compute-their-intersection.txt.txt

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

Given two arrays, write a function to compute their intersection - the intersection means the numbers that are in both arrays.

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

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

98 - 每日算法题: Product of Array Except Self - product-of-array-except-self.txt.txt

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

You are given an array of integers. Return an array of the same size where the element at each index is the product of all the elements in the original array except for the element at that index.

For example, an input of [1, 2, 3, 4, 5] should return [120, 60, 40, 30, 24].
...
阅读全文>>

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

99 - 每日算法题: 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, | 英文 | 242 次阅读, 21993 次搜索 | 98 个单词

100 - 每日算法题: 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, | 英文 | 251 次阅读, 19378 次搜索 | 102 个单词

101 - 每日算法题: 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, | 英文 | 422 次阅读, 17356 次搜索 | 43 个单词

102 - 每日算法题: 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, | 英文 | 440 次阅读, 17155 次搜索 | 49 个单词

103 - 每日算法题: 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, | 英文 | 233 次阅读, 17518 次搜索 | 77 个单词

104 - 每日算法题: 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, | 英文 | 217 次阅读, 17157 次搜索 | 74 个单词

105 - 每日算法题: 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, | 英文 | 211 次阅读, 17050 次搜索 | 125 个单词

106 - 每日算法题: 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, | 英文 | 245 次阅读, 19884 次搜索 | 118 个单词

107 - 每日算法题: 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, | 英文 | 1116 次阅读, 15711 次搜索 | 92 个单词

108 - 每日算法题: 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, | 英文 | 244 次阅读, 19324 次搜索 | 107 个单词

109 - 每日算法题: 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, | 英文 | 583 次阅读, 16018 次搜索 | 118 个单词

110 - 每日算法题: 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, | 英文 | 202 次阅读, 18164 次搜索 | 164 个单词


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


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