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 .. ) Next »

65 - Algorithm Interview: Permutations of numbers - permutations-of-numbers.txt

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

You are given an array of integers. Return all the permutations of this array.


...
Full Text>>

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

66 - Algorithm Interview: Maximum Path Sum in Binary Tree - maximum-path-sum-in-binary-tree.txt

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

You are given the root of a binary tree. Find the path between 2 nodes that maximizes the sum of all the nodes in the path, and return the sum. The path does not necessarily need to go through the root.


...
Full Text>>

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

67 - Algorithm Interview: Smallest Number that is not a Sum of a Subset of List - smallest-number-that-is-not-a-sum-of-a-subset-of-list.txt

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

Given a sorted list of positive numbers, find the smallest positive number that cannot be a sum of any subset in the list.

Example:
...
Full Text>>

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

68 - Algorithm Interview: Make the Largest Number - make-the-largest-number.txt

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

Given a number of integers, combine them so it would create the largest number.

Example:
...
Full Text>>

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

69 - Algorithm Interview: No Adjacent Repeating Characters - no-adjacent-repeating-characters.txt

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

Given a string, rearrange the string so that no character next to each other are the same. If no such arrangement is possible, then return None.

Example:
...
Full Text>>

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

70 - Algorithm Interview: String Compression - string-compression.txt

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

Given an array of characters with repeats, compress it in place. The length after compression should be less than or equal to the original array.

Example:
...
Full Text>>

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

71 - Algorithm Interview: Convert Roman Numerals to Decimal - convert-roman-numerals-to-decimal.txt

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

Given a Roman numeral, find the corresponding decimal value. Inputs will be between 1 and 3999.

Example:
...
Full Text>>

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

72 - Algorithm Interview Question: Find the Single Element in an Array of Duplicates - find-the-single-element-in-an-array-of-duplicates.txt

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

Given an array of integers, arr, where all numbers occur twice except one number which occurs once, find the number. Your solution should ideally be O(n) time and use constant extra space.
Example:
Input: arr = [7, 3, 5, 5, 4, 3, 4, 8, 8]
...
Full Text>>

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

73 - Algorithm Interview Question: Nth Fibonacci Number - nth-fibonacci-number.txt

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

The Fibonacci sequence is the integer sequence defined by the recurrence relation: F(n) = F(n-1) + F(n-2), where F(0) = 0 and F(1) = 1. In other words, the nth Fibonacci number is the sum of the prior two Fibonacci numbers. Below are the first few values of the sequence:

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144...
...
Full Text>>

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

74 - Algorithm Interview Question: Max and Min with Limited Comparisons - max-and-min-with-limited-comparisons.txt

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

Given a list of numbers of size n, where n is greater than 3, find the maximum and minimum of the list using less than 2 * (n - 1) comparisons.

Here's a start:
...
Full Text>>

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

75 - Algorithm Interview Question: Symmetric k-ary Tree - symmetric-k-ary-tree.txt

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

A k-ary tree is a tree with k-children, and a tree is symmetrical if the data of the left side of the tree is the same as the right side of the tree.

Here's an example of a symmetrical k-ary tree.
...
Full Text>>

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

76 - Algorithm Interview Question: H-Index - h-index.txt

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

The h-index is a metric that attempts to measure the productivity and citation impact of the publication of a scholar. The definition of the h-index is if a scholar has at least h of their papers cited h times.

Given a list of publications of the number of citations a scholar has, find their h-index.
...
Full Text>>

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

77 - IT/互联网产业最好的十年:再见,2010年代! - .txt

10年前,站在新十年的门槛上,我在我的blog上抄录了诗人食指的诗《相信未来》:

当蜘蛛网无情地查封了我的炉台,

当灰烬的余烟叹息着贫穷的悲哀,
...
Full Text>>

Top | Category: News | Comments (0) | Tags: IT/互联网产业, 最好的十年, Internet Companies, | 中文 | 2138 Views, 19864 Search Bots | 2037 Characters

78 - Python才是世界上最好的语言 - python-is-the-best.txt

  不同的编程有不同的应用场景和不同的使用场合,因此无法全面的评论哪种语言是最好的。但是各种不同的媒介还是每隔一段时间都会发布编程语言的热度排行榜。前不久电气和电子工程师协会( IEEE)发布了顶级编程语言交互排行榜。Python超越Java高居首位。

  为什么Python在IEEE Spectrum的调查里面这么受欢迎呢?

  一个原因就是Python现在已经逐渐受到嵌入式的支持。放在以前,受到嵌入式硬件的限制,一般只能支持一些编译语言。但是现在随着嵌入式硬件变得越来越强大,他的硬件能力足以支撑起Python的运行。而Python对于一些特定的嵌入式应用场景可以非常简单、方便、快速的搭建起可运行系统。因此,Python现在在嵌入式圈子里逐渐得到应用并且火了起来。
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: Python, 最好的语言, Python, | 中文 | 407 Views, 17103 Search Bots | 1084 Characters

79 - Daily Interview Problem: Jump to the End - jump-to-the-end.txt

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

Starting at index 0, for an element n at index i, you are allowed to jump at most n indexes ahead. Given a list of numbers, find the minimum number of jumps to reach the end of the list.

Example:
...
Full Text>>

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

80 - Daily Interview Problem: Circle of Chained Words - circle-of-chained-words.txt

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

Two words can be 'chained' if the last character of the first word is the same as the first character of the second word.

Given a list of words, determine if there is a way to 'chain' all the words in a circle.
...
Full Text>>

Top | Category: Computing | Comments (0) | Tags: 每日算法题, 算法, 数据结构, 面试题, Daily Interview Problem, Data Structures and Algorithms, Computer Programming, Python, | English | 393 Views, 15400 Search Bots | 107 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 .. ) Next »

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