To the Top

Big Big World

Subscribe blog items in this category or Feedburner

Category: All | Others(52) | Computing(163) | Life(35) | Success(18) | Funny Stuffs(24) | Memory(4) | To Share(59) | Love and Romantics(14) | News(83) | Fortune Quotes(92) | Q & A(26) | Health(6) | Pictures(5) | Stories(6) | Videos(13) | Cryptocurrency-Blockchain(1) |
Total: 601 - Statistics | Archive
« Previous ( Page : 1 2 3 4 5 6 7 8 9 10 11 .. ) Next »

81 - Daily Interview Problem: Decode String - decode-string.txt.txt

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

Given a string with a certain rule: k[string] should be expanded to string k times. So for example, 3[abc] should be expanded to abcabcabc. Nested expansions can happen, so 2[a2[b]c] should be expanded to abbcabbc.

Your starting point:
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 455 Views, 15942 Search Bots | 67 Words

82 - Daily Interview Problem: Full Binary Tree - full-binary-tree.txt

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

Given a binary tree, remove the nodes in which there is only 1 child, so that the binary tree is a full binary tree.

So leaf nodes with no children should be kept, and nodes with 2 children should be kept as well.
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 436 Views, 14523 Search Bots | 171 Words

83 - Daily Interview Problem: Min Stack - min-stack.txt

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

Design a simple stack that supports push, pop, top, and retrieving the minimum element in constant time.

push(x) -- Push element x onto stack.
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 1035 Views, 14179 Search Bots | 137 Words

84 - Daily Interview Problem: Reverse Integer - reverse-integer.txt

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

Write a function that reverses the digits a 32-bit signed integer, x. Assume that the environment can only store integers within the 32-bit signed integer range, [-2^31, 2^31 - 1]. The function returns 0 when the reversed integer overflows.

Example:
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 474 Views, 15703 Search Bots | 70 Words

85 - Daily Interview Problem: Min Range Needed to Sort - min-range-needed-to-sort.txt

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

Given a list of integers, return the bounds of the minimum range that must be sorted so that the whole list would be sorted.

Example:
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 336 Views, 14950 Search Bots | 70 Words

86 - Daily Interview Problem: Distribute Bonuses - distribute-bonuses.txt

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

You are the manager of a number of employees who all sit in a row. The CEO would like to give bonuses to all of your employees, but since the company did not perform so well this year the CEO would like to keep the bonuses to a minimum.

The rules of giving bonuses is that:
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 478 Views, 14660 Search Bots | 144 Words

87 - Daily Interview Problem: 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
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 368 Views, 14566 Search Bots | 171 Words

88 - Daily Interview Problem: 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.
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 304 Views, 15074 Search Bots | 142 Words

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


我前女友的现任老公。

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

...
Full Text>>

Top | Category: Love and Romantics | Comments (0) | Tags: 舔狗, love story, | 中文 | 3233 Views, 22342 Search Bots | 5598 Characters

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

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

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

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

Top | Category: To Share | Comments (0) | Tags: 考研经历, Story, | 中文 | 879 Views, 16045 Search Bots | 1483 Characters

91 - Why Divorced women do not choose to marry again? - why-divorced-women-do-not-choose-to-marry-again.txt

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

已离婚8个半月。

先交代一下背景:
...
Full Text>>

Top | Category: Q & A | Comments (0) | Tags: 离婚带孩子, 不再结婚, 女人, Divorced women, marriage, | 中文 | 293 Views, 15812 Search Bots | 1156 Characters

92 - [Daily Problem] 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.


...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 318 Views, 15660 Search Bots | 49 Words

93 - [Daily Problem] 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:
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 213 Views, 15455 Search Bots | 45 Words

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

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

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

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

Top | Category: To Share | Comments (0) | Tags: 擅长的领域, 装逼, Zhuang B, | 中文 | 1373 Views, 16275 Search Bots | 873 Characters

95 - Daily Interview Problem: 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:
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 139 Views, 17449 Search Bots | 80 Words

96 - Daily Interview Problem: 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].
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 170 Views, 16149 Search Bots | 79 Words


Category: All | Others(52) | Computing(163) | Life(35) | Success(18) | Funny Stuffs(24) | Memory(4) | To Share(59) | Love and Romantics(14) | News(83) | Fortune Quotes(92) | Q & A(26) | Health(6) | Pictures(5) | Stories(6) | Videos(13) | Cryptocurrency-Blockchain(1) |
Total: 601 - Statistics | Archive
« Previous ( Page : 1 2 3 4 5 6 7 8 9 10 11 .. ) Next »

Page Edited: October 30 2020 14:21:08 | RSS Subscription
How to Cook a Perfect Steak? | <meta name="robots" content="noindex, follow" />