由买买提看人间百态

topics

全部话题 - 话题: given
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
q*******d
发帖数: 49
1
来自主题: JobHunting版 - Bloomberg面经【求祝福】
总共三轮
第一轮俩人technical
1. tweet has topics, find top 10 topics of tweets send in last 30 minutes
2. leetcode 积水问题
3. there are different kind of databases; given a query, system will tell
you which database you should connect(system gives you a string like "Oracle
" or "MySQL"). Design a class that could handle any query.
第二轮俩人technical
1. java questions
2. make car; given “bus” return object bus; given "truck" return object
truck...etc
3. many linked lists meet together. find the first node that a... 阅读全帖
h*********7
发帖数: 169
2
刚电面完FB的Data team职位,SQL题目一共4题。头三题都挺简单,题目如下:
1. Given an EMPLOYEE table and a DEPARTMENT table, write a query to return
the list of Departments for which the total employee salary > $1m
2. Given an EMPLOYEE table, write a query that returns the employee(s) with
the 2nd highest salary. There may be >1 employee with the top salary, >1
employee with second highest, and so on.
3. Given a table fruit_counts that has these three columns : DATE, FRUIT,
NUM, write a query that gives me the difference of ... 阅读全帖
w****r
发帖数: 69
3
- IMO.IM
P1 Given a matrix of size M*N, containing numbers from 1 ~ M*N. No
duplicates. Find a path from upper left to lower right, such that the
numbers on the path are lexicographically the smallest after being sorted.
P2 Subsequences See http://www.mitbbs.com/article_t/JobHunting/32528491.html
两面答得都还好,第二面写了个变种的binary search,错了一个边界,然后很快就改
过来了。而且自己想到了最优解。不知道为啥挂掉了。
- Palantir
P1 Q1 implement quick sort 秒之
Q2 given N, find the sum of numbers, between 1-n, that are divisible by 3
and 7. Do it i... 阅读全帖
l******9
发帖数: 579
4
来自主题: JobHunting版 - SQL fast search in a 10 million records table
I need to do a fast search in a column with floating point numbers in a
table of SQL server 2008 R2 on Win 7.
the table has 10 million records.
e.g.
Id value
532 937598.32421
873 501223.3452
741 9797327.231
ID is primary key, I need o do a search on "value" column for a given value
such that I can find the 5 closest points to the given point in the table.
The closeness is defined as the absolute value of the difference between the
given value and column value.
The smaller value,... 阅读全帖
j****0
发帖数: 13
5
来自主题: JobHunting版 - 分享一些自己面过的面筋

从版上受益不少,把自己的经历梳理一下,互相共勉。
由于是骑驴找马,时间安排上比较麻烦,折腾了半年。 尝试了YLATFG等的马工。 L
和T电面悲剧;A,Y店面时候觉得不太match,主动放弃; onsite两个小点公司(悲剧)和
FG。剩下的还在等最后结果......以下纯属个人经历和偏见,求拍砖。
复习准备,主要是CLRS+leetcode+Geeks+CC+面筋。 我强烈推荐CLRS和Geeks复习基础
, leetcode联系算法设计, CC熟悉常见面试题, MITBBS+Careercup网站熟悉要去的公
司的面筋.
一点建议:
1. 一定要准备好最基本的数据结构的知识
特别是自己要把所有常用的数据结构都实现一遍,包括BST, Queue,Stack,Heap,
Hashtable.
知道running time和基本分析。 (e.g.,就算G,也可能问这些你觉得basic的东西).
可以实现一下Trie, Interval Tree经常被提到的结构。
2. 如果是数据分析有关的,建议复习一下概率,强烈推荐CLRS Ch... 阅读全帖
w****2
发帖数: 6
6
来自主题: JobHunting版 - 问一道Uber的电面题
问题有些模糊的地方比如什么是合法,怎么推理(A N C)& (C NE D) =》 (A ?D
)对这个特殊问题合法性和推理规则也不难定义。
Given d = {N, NE, E, SE, S, SW, W, NW}.
- (d1, d2) is consistent if d1 \cap d2 != \empty
- (A d1 B) (B d2 C) => (A d1 \cap d2 B)
- (A d1 B) => (B d2 A) where d2 is the substitute d1 with S<->N and W<->E
Let D be a n X n matrix (it can be considered a graph) where D(i,j) is a set
of directions from i to j, given or inferred. Then run the inference until
no more changes. During inference, whenever a new direction is inferred fo... 阅读全帖
w****a
发帖数: 710
7
来自主题: JobHunting版 - FLAG Yelp Uber Palantir等公司面经
我LD最近面了一堆公司,下面发她的面经攒人品。基本都是电面和onsite混着发的。
Google:
1. Wildcard match
2. http://www.fgdsb.com/2015/01/25/peek-iterator/类似。写一个de duplicator,wrap 几个stream,输出的stream全是不重复数字。
3. 求一个stream,出现次数最多的数字。然后扩展到N个machine的情况。
4. 假设某个company在不同国家都有office,每个国家的office,如果是当地的假期,
就可以放假了。假设可以查询任意航班的信息,每个星期只能呆在一个地方,只有周末
的时候才能飞去别的国家。找一个放假天数最多的schedule。
5. LRU + 一些 C++问题。
6. 这题记不大清楚了。好像是Longest increasing consecutive sequence, 然后一
个Tree的该进版。求longest increasing consecutive path。
7. file system design。就是设计一个大数据的存取问题。存在di... 阅读全帖
h****3
发帖数: 89
8
骑驴找马找工作结束,终于拿到心仪的offer,面试准备了大概半年多,前期复习时不
是很认真,每天刷一道lc的节奏。到后来两个月才认真起来,每天八小时左右学习
面经如下:
Snapchat
(1) Big integer (negative included)
(2) Topological sort
(3) Manager behavior question + N-queen II
(4) Unique BST I, II + lots of
Amazon
电面: dp 麦当劳买鸡块问题,比较简单
Recursion 类似subset
(1) Given an array of integers, return the result after calculate square
of each element(don’t worry overflow): eg [1,2,3] => [1,4,9]
(2) System Design yahoo news
(3) 给一个matrix和字典,matrix每一个ce... 阅读全帖
M***6
发帖数: 895
9
来自主题: JobHunting版 - 一道用叶子过河题
原题在这。https://codility.com/demo/results/demoH5GMV3-PV8/
A small frog wants to get to the other side of a river. The frog is
currently located at position 0, and wants to get to position X. Leaves fall
from a tree onto the surface of the river.
You are given a non-empty zero-indexed array A consisting of N integers
representing the falling leaves. A[K] represents the position where one leaf
falls at time K, measured in seconds.
The goal is to find the earliest time when the frog can jump to the ot... 阅读全帖
o******0
发帖数: 105
10
来自主题: JobHunting版 - 问一个FB的题
Design a data structure that supports kind of full text search but in
numbers.
We are given file with lot of 10-digits numbers, for example:
1234 567 890
4124 123 123
3123 123 322
On a given number X we should return all numbers that contain X.
For example, if the number 123 was given, we should return all numbers (from
the list above) because 123 is in all of them.
If the number 41 was given we should return only the middle number - because
the number 41 is only in it.
能想到的是转成string,再search.
l********l
发帖数: 91
11
来自主题: JobHunting版 - 向各位大侠请教几道面试题的思路
想请教大侠们这几道题的最优解答应该是什么?随便哪题给点思路也好。先说声谢谢了!
1. Given an array of elements, return an array of values pertaining to how
many elements are greater than that element remaining in the array.
Ex. [3,4,5,9,2,1, 3], return [3, 2, 1, 0, 1, 1, 0]
First element is 3 because 3<4,5,9. Second element is 2 because 4< 5,9 etc
2. Given a string which only contains lowercase. You need delete the
repeated letters only leave one, and try to make the lexicographical order
of new string is smallest.
Ex. bcabc
Delete t... 阅读全帖

发帖数: 1
12
You are given a list of tasks as an integer array, task_costs. Every i-th
element of task_costs represents a task and requires task_costs[i] seconds
to complete. All tasks listed in the array are independent of other tasks.
It is required to finish all the tasks independently and as soon as possible
. You are given a single worker robot to start taking the tasks and finish
them one at a time. However if you like, you can divide the worker robot in
two. Each resulting robot can then be further di... 阅读全帖
m****s
发帖数: 18160
13
【 以下文字转载自 TrustInJesus 讨论区 】
发信人: BG (江水炖活鱼), 信区: TrustInJesus
标 题: 加州浸信会大学的Job opening
发信站: BBS 未名空间站 (Thu Oct 24 16:34:54 2013, 美东)
Faculty Positions: Full-time
Main Campus
California Baptist University, an evangelical Christian university
affiliated with the California Southern Baptist Convention, invites
applications for tenure-track positions to begin August 14, 2014 in the
areas listed below. Candidates must embrace the mission of California
Baptist University and evidence a clear unders... 阅读全帖
f*****o
发帖数: 1151
14
来自主题: JobMarket版 - 请教面试JAVA考题最佳算法
请问一下JAVA考题最佳算法是啥?
Problem 1:
Write a method which given two integers, returns the integer that is closest
to 1000.
Problem 2:
Write a method which given a string, returns a string where every character
in the original is doubled. For example, given the string "xyz";, return the
string "xxyyzz";
Problem 3:
Write a method which takes an array of integers. The method should return
true if there is a way to split the array in two so that the sum of the
numbers on one side of the split equals the su... 阅读全帖
w*********s
发帖数: 2136
15
【 以下文字转载自 WorldNews 讨论区 】
发信人: whiteclouds (/ 参考消息 /), 信区: WorldNews
标 题: 进步主义, 宗教信仰, 与疫苗
发信站: BBS 未名空间站 (Wed May 18 20:03:38 2011, 美东)
Progressives And Religious Faith In Vaccines
By R Hammonds
4-17-11
Ralph Nader was once a hero for exposing and going after Ford for their
Pinto which could burst into flames and was killing people. His effort
enshrined in progressives the idea that government should enforce safety
safety standards on corporate products because corporations will do all they
ca... 阅读全帖
m**w
发帖数: 670
16
【 以下文字转载自 Travel 讨论区 】
发信人: mwww (喵呜~汪汪~), 信区: Travel
标 题: Hyatt中国酒店数,2015年底前预计将翻倍
发信站: BBS 未名空间站 (Wed Feb 12 18:00:39 2014, 美东)
最近把Hyatt欧洲的几个Park (苏黎世 巴黎 汉堡)骚扰了下,感觉不过瘾又去发信问
问Park Hyatt Tokyo,顺便把所有日本Hyatt全部问了遍。然后回头来看看国内的Hyatt
,发现宁波、长白山都出现了Park Hyatt,有点惊讶。
再仔细一找,网络上搜的list长的吓坏了。发信问Hyatt Gold Passport客服说的确有
很多,但不知道具体什么时候开业,还加了句"I was also surprised the number of
new locations. "。
然后发信去这些其中国内pre-openning酒店,一个个都回的很快(Regency/ Grand
Club如何如何好吹了通,豪车接送价目表 汗。。。),有些的确半年内就要开业。
再然后发信去问Operations- China at ... 阅读全帖
i*******6
发帖数: 234
17
Healing the Trauma: Entering Motherhood with Posttraumatic Stress Disorder (
PTSD)
by Jennifer Jamison Griebenow
© 2006 Midwifery Today, Inc. All rights reserved.
[Editor's note: This article first appeared in Midwifery Today Issue 80,
Winter 2006.]
Making the leap to parenthood is a challenging transition even at the best
of times. For some mothers that transition is made even more difficult by
additional challenges in the postpartum period. Most people know about the
baby blues, and the m... 阅读全帖
s*********e
发帖数: 6149
18
来自主题: NextGeneration版 - Sample Birth Plan
Due Date: 03/19/2009
Patient of Dr. McDermott
Scheduled to deliver at Seattle Grace
03/17/2009
Dear Dr. McDermott
I'm having a baby and these are my wishes for before, during and post
delivery. Please direct any questions to Claire or Ginger. Thank you.
Sincerely,
Mary Doe
Labor
* I wish to be able to move around and change position at will
throughout labor.
* I would like to be able to have fluids by mouth throughout the first
stage of labor.
* I would prefer to keep the number of v... 阅读全帖
s*********e
发帖数: 6149
19
来自主题: NextGeneration版 - 英文临产常识
我是个懒妈,觉得下面的临产常识基本够用了。分享下。
========== Call your caregiver if:
you notice excessive or sudden swelling of your feet or ankles, more than
slight swelling of your hands, any swelling in your face or puffiness around
your eyes, or have a sudden weight gain. Also let her know immediately if
have severe or persistent headaches; visual changes (such as double or
blurred vision, seeing spots or flashing lights, light sensitivity, or a
temporary loss of vision), intense upper abdominal pain or tenderness,... 阅读全帖
s*********s
发帖数: 70
20
来自主题: NextGeneration版 - 说说我对自家娃娃的疫苗选择吧
看来有人跟我问过同样的问题啊:
http://answers.yahoo.com/question/index?qid=20111130141546AAZHa
Resolved Question
Are vaccines tested in double blind placebo controlled studies?
I mean truly unbiased studies? Do you have any links to give proof so it's
not just someone's word or statement about it? I want something completely
unbiased to help settle a debate
1 year ago Report Abuse
grindl
Best Answer - Chosen by Asker
In order to do a double blind placebo controlled study with vaccines, one
group should be give... 阅读全帖
a*****g
发帖数: 19398
21
来自主题: NextGeneration版 - PISA报告中美国数学教育强项和弱项
PISA报告中美国数学教育强项和弱项
摘要:
强项:
●阅读简单的图表
●处理简单的图表
●套公式(靠,这也是强项么?)
弱项:
自己读下面的原文。
我的总结——
π的问题是dysiexia和Dyscalculia混杂,是语言干扰数学问题
其他的主要是学生缺乏抽象能力的问题
Strengths
? Reading data directly from tables and diagrams – requiring students only
to understand a short text
and read single values directly from a representation provided such as a tab
le or a bar diagram
? Simple handling of data from tables and diagrams – requiring students to
understand a short text,
read two values from a given representation, and then... 阅读全帖
a*****g
发帖数: 19398
22
来自主题: NextGeneration版 - opt out的最高记录
摘要——去年秋季,455个学生的学区,senior没有一个人参加 science and social
study 考试
Two small districts set the record for opting out
By Todd Engdahl
@ToddEngdahl
[email protected]
/* */
PUBLISHED: July 20, 2015 - 8:24 am MDT
http://co.chalkbeat.org/2015/07/20/two-small-districts-set-the-
If you want to know where opposition to standardized testing may run deepest
, look to Mancos and Buffalo, two rural Colorado districts 472 miles apart
on opposite sides of the Continental Divide.
The two districts appear to ha... 阅读全帖
g******t
发帖数: 18158
23

吉他小小孩是弹不了的,用小手指拨弹金属弦会很疼痛的,这同样是专业音乐教育人士
的建议,可以大一点再学。
“I am sure everyone reading this book has experienced learned helplessness
at some stage of life. There had to have been a situation when you just felt
that no matter what you did you had no control to succeed. The result for
most people is that they avoid those situations like the plague.
We don’t want that to happen to your child with playing a musical
instrument. Yet it occurs all the time. Children are given instruments that
are too large ... 阅读全帖
y*****y
发帖数: 1208
24
来自主题: Parenting版 - Support Asian American students!!!
Beida, i know you are hopeless. but again, here is one article by law
professor Heriot on the damaging side of affirmative action in college
admission. read it, moron.......
The Say Irony of Affirmative Action by Prof Gail Heriot
In 2003, the Supreme Court held that the University of Michigan's law school
could substantially relax its admissions standards in order to admit a "
critical mass" of African-American and Hispanic students. Many observers
interpreted that decision — Grut... 阅读全帖
y*****y
发帖数: 1208
25
来自主题: Parenting版 - Support Asian American students!!!
Beida, i know you are hopeless. but again, here is one article by law
professor Heriot on the damaging side of affirmative action in college
admission. read it, moron.......
The Say Irony of Affirmative Action by Prof Gail Heriot
In 2003, the Supreme Court held that the University of Michigan's law school
could substantially relax its admissions standards in order to admit a "
critical mass" of African-American and Hispanic students. Many observers
interpreted that decision — Grut... 阅读全帖
L********r
发帖数: 758
26
来自主题: Parenting版 - 爬藤的家长注意喽
下面的文章要读一读。
文章摘要如下:鸡头>凤尾原则是被广泛观察到的现象所支持的。同一入学新生,相比
于去与自己水平相当的大学,选择去比自己水平高很多的藤校是很不明智的。所以AA造
成对黑青年“毁人>诲人”。
如斯成立,则亚裔家长推自个的娃也须小心。如家长推了10年娃也没学会自推,那靠补
习班、凑活动经验上了藤校也是去给牛娃当分母做尾巴去了,也许不如去一州校帮助大
。学费省下来还可以投资给娃当个天使基金啥的。
发信人: yariguy (yari guy), 信区: Parenting
标 题: Re: Support Asian American students!!!
发信站: BBS 未名空间站 (Mon Jan 21 10:52:51 2013, 美东)
The Say Irony of Affirmative Action by Prof Gail Heriot
In 2003, the Supreme Court held that the University of Michigan's law school
could substantially relax its... 阅读全帖
a*****g
发帖数: 19398
27
PISA报告中美国数学教育强项和弱项
摘要:
强项:
●阅读简单的图表
●处理简单的图表
●套公式(靠,这也是强项么?)
弱项:
自己读下面的原文。
我的总结——
π的问题是dysiexia和Dyscalculia混杂,是语言干扰数学问题
其他的主要是学生缺乏抽象能力的问题
Strengths
? Reading data directly from tables and diagrams – requiring students only
to understand a short text
and read single values directly from a representation provided such as a tab
le or a bar diagram
? Simple handling of data from tables and diagrams – requiring students to
understand a short text,
read two values from a given representation, and then... 阅读全帖
a*****g
发帖数: 19398
28
来自主题: Parenting版 - opt out的最高记录
摘要——去年秋季,455个学生的学区,senior没有一个人参加 science and social
study 考试
Two small districts set the record for opting out
By Todd Engdahl
@ToddEngdahl
[email protected]
/* */
PUBLISHED: July 20, 2015 - 8:24 am MDT
http://co.chalkbeat.org/2015/07/20/two-small-districts-set-the-
If you want to know where opposition to standardized testing may run deepest
, look to Mancos and Buffalo, two rural Colorado districts 472 miles apart
on opposite sides of the Continental Divide.
The two districts appear to ha... 阅读全帖
G****n
发帖数: 145
29
长江各领域教授论文引用次数
Between trust and control: Developing confidence in partner cooperation in
alliances
[PDF] from cuny.edu…, BS Teng - Academy of management Review, 1998 - JSTOR
Strategic alliances have been recognized as arenas with potential for
opportunistic behavior
by partners. Hence, a firm needs to have an adequate level of confidence in
its partner's
cooperative behavior. In this article we examine the notion of confidence in
partner ...
Cited by 1749 - Related articles - BL Direct - All 9 v... 阅读全帖
g******n
发帖数: 53185
30
来自主题: Stock版 - nflx盘后200了
是很牛气。
Netflix CEO Reed Hastings Responds to Whitney Tilson: Cover Your Short
Position. Now.
A great investor and a wonderful human being, Whitney Tilson recently posted
an article about why he is short Netflix (NFLX). Whitney, who is a major co
-donor with me to charter public schools like KIPP, writes that he has lost
money betting against Netflix, and that he is still short Netflix in a big
way.
At Netflix we mostly focus on building our business and letting the numbers
do the talking. But Whi... 阅读全帖
w******s
发帖数: 16209
31
Piper Jaffray: Worth It to Own Apple With iPad Wildcard
By Miriam Gottfried
It’s worth it to own Apple (AAPL) shares, despite the fact that sales
numbers for the iPhone, Mac and iPod will likely be in line with consensus,
because numbers for the iPad are a wildcard, according to analysts at Piper
Jaffray.
There is unusually high visibility into numbers for most Apple devices, the
firm argues, but for the iPad 2, the persistence of a dramatic supply
constraint means the demand for the device far ... 阅读全帖
r***s
发帖数: 1805
32
Commentary: Think you’re smarter than Peter Thiel or Goldman Sachs?
By John Shinal
SAN FRANCISCO (MarketWatch) — If you had inside knowledge of a hot
investment that you expected to be worth more in six months or even three
months, why would you sell your stake this week?
That’s a question retail investors should be asking themselves now that the
level of stock-dumping among Facebook Inc. FB 0.00% insiders has reached a
level that can only be described as “Grouponesque.” Here’s just how much
ce... 阅读全帖
S*********s
发帖数: 1963
33
对了,share一个小信息,可能对有些人有用。
在填宝宝信息的时候,问的是given names,LD认为given names不包括middle name,
我拿了一下宝宝的护照申请表和美国护照对比,发现对于US passport,Given Names=
First name + Middle name,所以就把middle name也填到given name一栏里去了。
f*******8
发帖数: 1430
34
The pdf file is found here: http://www.cis.org/articles/2011/north-skilled-workers.pdf
From Center for Immigration Studies
David North is a CIS fellow who has studied the interaction of immigration
and U.S. labor markets for more than 30 years.
----------------------------------------------------------------------------
----
There have been numerous recent proposals to increase the admission of
skilled workers from abroad. This paper examines some of the issues
surrounding the question of skille... 阅读全帖
f*******8
发帖数: 1430
35
这个法案是CT的参议员Lieberman提出的,这个法案总共三个部分:第一和第三部分都
不是关于绿卡,而是关于工作签证的,第二部分是关于EB类的绿卡,不过这个法案并没
有增加EB类的绿卡名额,而只是允许提前交I-485(交500美元处理费)和签发有效期为三
年的EAD和AP. 这实际上是个很moderate的改革,可惜当时没有通过。现在把法案贴出
来, 我觉着今年有可能会有议员提相类似的法案:
S.1397 -- Skilled Worker Immigration and Fairness Act (Introduced in Senate
- IS)
S 1397 IS
110th CONGRESS
1st Session
S. 1397
To increase the allocation of visas for certain highly skilled workers and
to reduce fraud and abuse in certain visa programs for aliens working
temporarily in the United Sta... 阅读全帖
p***s
发帖数: 584
36
来自主题: EB23版 - trackitt上关于3012的一篇文章
This is latest news about Irish's reform efforts:
http://irishecho.com/?p=68814
"According to the ILIR’s Ciaran Staunton, 53 Democratic senators are lined
up to support the Schumer bill which is a Senate companion to an approved
House bill, H.R. 3012"
Obviously Schumer's bill S.1983 has got overwhelming supports from Senate
Demos. However a well-known fact is, Irish reform must be bond with 3012 to
pass House; otherwise if 3012 passes alone, Irish reform will never pass the
House by itself. Thos... 阅读全帖
T*******e
发帖数: 4110
37
来自主题: Boston版 - winchester 是什么档次的城市?
提醒一下,买房的时候要open minded,最忌盯着一个镇子看。如果你想买Winchester,
typically you are in the market of Lexington and Belmont (the same goes for
people who start with either Lexington or Belmont), more comfortably in
Arlington, even more in Bedford. Depending on where you commute, you can
even open it up to Weston, Concord and Lincoln.
在这样的好镇子里,也没有必要特别盯着小学看,好镇子里的哪个小学都不会埋没了你
的孩子。It is already so hard to find a house that you like or can
compromise, given the price range, given the ethic mixture and diversity
level ... 阅读全帖
a*****g
发帖数: 19398
38
PISA报告中美国数学教育强项和弱项
摘要:
强项:
●阅读简单的图表
●处理简单的图表
●套公式(靠,这也是强项么?)
弱项:
自己读下面的原文。
我的总结——
π的问题是dysiexia和Dyscalculia混杂,是语言干扰数学问题
其他的主要是学生缺乏抽象能力的问题
Strengths
? Reading data directly from tables and diagrams – requiring students only
to understand a short text
and read single values directly from a representation provided such as a tab
le or a bar diagram
? Simple handling of data from tables and diagrams – requiring students to
understand a short text,
read two values from a given representation, and then... 阅读全帖
j***h
发帖数: 4412
39
New Zealand Building Code Gave All-Clear Before Quake
Wall Street Journal - Geoffrey Rogow * MARCH 1, 2011
CHRISTCHURCH—Experts are questioning why so many of the buildings damaged
in last year's earthquake in New Zealand were given the all-clear, an
alleged oversight that some say added to the calamity brought by last week's
quake in Christchurch.
"Everything had been weakened by that first quake, that's for sure," said
Steve Calanog, a federal "on scene" coordinator for the U.S. Environm... 阅读全帖
j***h
发帖数: 4412
40
New Zealand Building Code Gave All-Clear Before Quake
Wall Street Journal - Geoffrey Rogow * MARCH 1, 2011
CHRISTCHURCH—Experts are questioning why so many of the buildings damaged
in last year's earthquake in New Zealand were given the all-clear, an
alleged oversight that some say added to the calamity brought by last week's
quake in Christchurch.
"Everything had been weakened by that first quake, that's for sure," said
Steve Calanog, a federal "on scene" coordinator for the U.S. Environm... 阅读全帖
e*****u
发帖数: 67
41
自己不是CS專業,只學過一門數據結構,會一些Python.
明天on-site面試一個engineer工作。 臨時抱佛腳。
如果明天當場要寫code,估計只能有Python硬着頭皮寫-
請教諸位大俠, 下面這幾道題用Python怎麼寫-
1) Describe recursive mergesort and its runtime. Write an iterative
version in Python.
2) Given an array of numbers, replace each number with the product of
all the numbers in the array except the number itself *without* using
division.
3) Write a program to find depth of binary search tree without using
recursion.
4) Efficiently implement 3 stacks in a single array.
5) Given an... 阅读全帖
x********i
发帖数: 905
42
10 Myths About Legacy Preferences in College Admissions
By Richard D. Kahlenberg
Legacy preferences, which provide a leg up in college admissions to
applicants who are the offspring of alumni, are employed at almost three-
quarters of selective research universities and virtually all elite liberal-
arts colleges. Yet legacy preferences have received relatively little public
attention, especially when compared with race-based affirmative-action
programs, which have given rise to hundreds of books... 阅读全帖
f*****o
发帖数: 1151
43
来自主题: SanFrancisco版 - java 面试题求解
请问一下JAVA考题最佳算法是啥?
Problem 1:
Write a method which given two integers, returns the integer that is closest
to 1000.
Problem 2:
Write a method which given a string, returns a string where every character
in the original is doubled. For example, given the string "xyz";, return the
string "xxyyzz";
Problem 3:
Write a method which takes an array of integers. The method should return
true if there is a way to split the array in two so that the sum of the
numbers on one side of the split equals the su... 阅读全帖
M*******c
发帖数: 4371
44
来自主题: SanFrancisco版 - 美国新的特权阶级: 非法移民 (转载)
【 以下文字转载自 USANews 讨论区 】
发信人: lczlcz (lcz), 信区: USANews
标 题: 美国新的特权阶级: 非法移民
发信站: BBS 未名空间站 (Mon Jan 12 17:50:08 2015, 美东)
The New Privileged Class: Illegal Immigrants
By Michael Bargo Jr.
The belief is widely held that those who are wealthy or possess great
political power are above the law and do not have to respond to the legal
constraints endured by the great masses of Americans. Those on the left
who profess to support the poor and middle classes are quick to point out
that the wealthy cla... 阅读全帖
c*******o
发帖数: 5387
45
来自主题: WashingtonDC版 - 爬藤的家长注意喽 (转载)
【 以下文字转载自 Parenting 讨论区 】
发信人: LoanSeeker (Need Better Loan), 信区: Parenting
标 题: 爬藤的家长注意喽
发信站: BBS 未名空间站 (Mon Jan 21 16:04:05 2013, 美东)
下面的文章要读一读。
文章摘要如下:鸡头>凤尾原则是被广泛观察到的现象所支持的。同一入学新生,相比
于去与自己水平相当的大学,选择去比自己水平高很多的藤校是很不明智的。所以AA造
成对黑青年“毁人>诲人”。
如斯成立,则亚裔家长推自个的娃也须小心。如家长推了10年娃也没学会自推,那靠补
习班、凑活动经验上了藤校也是去给牛娃当分母做尾巴去了,也许不如去一州校帮助大
。学费省下来还可以投资给娃当个天使基金啥的。
发信人: yariguy (yari guy), 信区: Parenting
标 题: Re: Support Asian American students!!!
发信站: BBS 未名空间站 (Mon Jan 21 10:52:51 2013, 美东)
The Say Irony of Affirmativ... 阅读全帖
F*V
发帖数: 3978
46
来自主题: CanadaNews版 - 大棋局与9/11
大棋局与9/11
来源: ognc 于 2013-02-22 16:08:44[档案] [博客] [旧帖] [转至博客] [给我悄悄
话] 本文已被阅读:63次
字体:调大/调小/重置 | 加入书签| 打印| 所有跟帖 | 加跟贴| 查看当前最热讨论主题
The Moral Decoding of 9-11
By Prof. John McMurtry
(Journal of 9/11 Studies) - I was sceptical of the 9-11 event from the first
time I saw it on television. It was on every major network within minutes.
All the guilty parties were declared before any evidence was shown. The
first questions of any criminal investigation were erased. Who had the most
compelling motives for... 阅读全帖
a********l
发帖数: 39524
47
来自主题: Baseball版 - Stan "The Man" Musial (转载)
【 以下文字转载自 PhotoGear 讨论区 】
发信人: apolitical (无期徒刑), 信区: PhotoGear
标 题: Stan "The Man" Musial
发信站: BBS 未名空间站 (Mon Jan 28 15:02:42 2013, 美东)
has been laid to rest at the age of 92. during his life, he played baseball
to the best of his god-given ability, taking a break in between only to
serve his country during WWII, loved his wife for 72 years, played harmonica
to entertain the crowds, and always treated everyone around him like a
friend. or simply, he lived a great american life. come april it's... 阅读全帖
W*******s
发帖数: 18705
48
来自主题: Fishing版 - 什么是Surf Fishing。
通过这次Surf事件,不伦是总体Surf的知识还是做人的道德规范,某学院的水准令我非
常失望。我用某人对我说的话来说,你只会钓梦涛客,或许这句话是过度夸奖了,嗯,
你只知道梦涛客,这样比较贴切。
http://www.worldfishingnetwork.com/tips/post/surf-fishing
What Is Surf Fishing?
Surf fishing generally comes down to one basic principle: to be able to fish
in marine conditions and get a chance to catch big fish without having to
use a boat. This approach is not just popular for its cost-effectiveness,
however, as this style brings with it its own set of pleasures as well for
the angler.
Surf fishi... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)