t****i 发帖数: 88 | 1 在glassdoor上找了一下zenefits的SDE面经,不知道真伪,有个题目倒是跟版上一个贴
出来的一样。 有的题目语焉不详, 还请看明白的指点一下题面。
If I give you a list of overlapping time periods, [9am-12pm, 10-1pm, 2-4pm,
3-6pm] -> [9-1pm, 2-6pm]
======
1) Good nodes problem using Linkedlist
2) possible number of paths in a matrix of 1's and 0's
========
The first question was about flipping the bits. Given a binary string,
return the maximum number of 1s you can get if you flip the bits.
=====
The second question was something about counting the maximum revenue for a
railway station given price of a ticket equals the number of tickets
available.
===
Finding the next palindrome number http://www.algorithmist.com/index.php/SPOJ_PALIN
====
Reverse a string (this is a string => string a is this)
====
Place people in a company hierarchy by linking them with who they report to
http://www.mitbbs.com/article_t/JobHunting/32935195.html
===
Implement a "super stack" -- a basic stack with some additional specified
features.
===
Given a positive integer, find the smallest zero-one multiple.
====
Given a Binary Search Tree with integers at every node and an integer k,
write code that decides whether or not there exists two nodes a and b such
that a+b=k
下面三个题目是我没看明白题目的,有两个放狗搜了一下, 有些头绪,最后那个'Good
nodes problem'彻底不明白了
Given a binary string, return the maximum number of 1s you can get if you
flip the bits
is it this Q? http://www.careercup.com/question?id=6262507668766720
Given a positive integer, find the smallest zero-one multiple.
http://math.stackexchange.com/questions/388165/how-to-find-the-smallest-number-with-just-0-and-1-which-is-divided-by-a-give
http://stackoverflow.com/questions/16458026/how-to-find-the-smallest-number-with-just-0-and-1-which-is-divided-by-a-given-nu
Good nodes problem using Linkedlist 这个什么意思??彻底没看懂 |