由买买提看人间百态

topics

全部话题 - 话题: slotted
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
j*****e
发帖数: 11116
1
来自主题: FleaMarket版 - 【出售】Thinkpad T420s 独显 deal机器
4173CTO ThinkPad T420s - 3 Yr Standard Depot Warranty
Processor Intel Core i5-2520M Processor (2.5GHz, 3MB L3, 1333MHz DDR3)
Operating system ThinkPad PC DOS License
Operating system language PC DOS 2000 License
Display type 14.0 HD+ (1600 x 900) LED Backlit Antiglare Display, Mobile
Broadband Ready
System graphics NVIDIA NVS 4200M Optimus Graphics 1GB, Intel Core i5-2520M
Processor
Total memory 2 GB PC3-10600 DDR3 SDRAM 1333MHz SODIMM Memory (1 DIMM)
Keyboard Keyboard US English
Pointing devic... 阅读全帖
c****b
发帖数: 951
2
来自主题: FleaMarket版 - 【出售】 T420 i5/4g/320G/ $760
二手交易风险自负!请自行验证是否合法和一手卡!:
我想卖的物品:
Lenovo T420 i5-2410/4g/320G
可接受价格(必须明码标价!):
$760
物品新旧要求:
newly sealed
邮寄方式要求:
YL
买卖双方谁承担邮寄损失(Required if not code only):
before, after
付款方式说明:
non-cc paypal, boa
其他补充说明:
Processor Intel Core i5-2410M Processor (2.30GHz, 3MB L3)
Operating system Genuine Windows 7 Home Premium 64
Operating system language Genuine Windows 7 Home Premium 64 US English
Display type 14.0 HD+ (1600 x 900) LED Backlit Anti-Glare Display, Mobile
Broadband Ready
System graphics Intel HD Gr... 阅读全帖
c****b
发帖数: 951
3
二手交易风险自负!请自行验证是否合法和一手卡!:
我想卖的物品:
T420 i7/4G/320G/Webcam/Bluetooth 3.0
可接受价格(必须明码标价!):
$1030
物品新旧要求:
newly sealed
邮寄方式要求:
YL
买卖双方谁承担邮寄损失(Required if not code only):
before, after
付款方式说明:
non-cc paypal, boa
其他补充说明:
Processor Intel Core i7-2620M Processor (2.70GHz, 4MB L3)
Operating system language Genuine Windows 7 Home Premium 64 US English
Display type 14.0 HD+ (1600 x 900) LED Backlit Anti-Glare Display, Mobile
Broadband Ready
System graphics Intel HD Graphics 3000
Total memory 4 GB PC3-10600 D... 阅读全帖
c****b
发帖数: 951
4
二手交易风险自负!请自行验证是否合法和一手卡!:
我想卖的物品:
Lenovo T420 i7/4G/320G/Webcam/Bluetooth3.0
可接受价格(必须明码标价!):
$1070 or your best offer
物品新旧要求:
Brand New, sealed
邮寄方式要求:
YL
买卖双方谁承担邮寄损失(Required if not code only):
before, after
付款方式说明:
non-cc paypal, boa
其他补充说明:
Processor Intel Core i7-2620M Processor (2.70GHz, 4MB L3)
Operating system Genuine Windows 7 Home Premium 64
Operating system language Genuine Windows 7 Home Premium 64 US English
Display type 14.0 HD+ (1600 x 900) LED Backlit Anti-Glare Display, Mobile
Bro... 阅读全帖
m*g
发帖数: 377
5
Only one slot left for amazon prime membership sharing. It is $15.
It is full one-year membership which has not started yet. We plan to
start the membership later this week. Please im me if you are
interested.
Thanks!
Update: Sorry, All slots have been taken. Thanks!
s*****s
发帖数: 536
6
来自主题: FleaMarket版 - [出售] Toshiba Satellite P755-S5270 @ 650
我想卖的物品:Lenovo B575-1450A7U AMD E-350 15.6" Laptop
PRODUCT FEATURES
Genuine Windows 7 Home Premium 64-bit
Intel Core i5-2410M Processor, 2.3 GHz (2.9 GHz with Turbo Boost Technology)
, 3MB L3 Cache
Mobile Intel HM65 Express Chipset
NVIDIA GeForce GT 540M with NVIDIA Optimus Technology featuring 1024MB GDDR3
discrete graphics memory
NVIDIA Optimus technology automatically switches graphics
Total Available Graphics memory 3793MB
Memory
Configured with 6GB DDR3 1333MHz (max 8GB)
2 main memory slots.... 阅读全帖
c******s
发帖数: 1439
7
来自主题: FleaMarket版 - [出售] Thinkpad T420 $800(含税价)
全新,未开封
ThinkPad T420 - 1 Yr Depot Topseller Warranty
Processor: Intel Core i5-2430M Processor (2.40GHz, 3MB L3, 1333MHz)
Operating system: Genuine Windows 7 Home Premium 64
Operating system language: Genuine Windows 7 Home Premium 64 US English

Display type: 14.0" HD (1366 x 768) LED Backlit Anti-Glare Display,
Mobile Broadband Ready
System graphics: Intel HD Graphics 3000
Total memory: 4 GB DDR3 - 1333MHz (1 DIMM)
Keyboard: Keyboard US English ... 阅读全帖
d*****g
发帖数: 4081
8
来自主题: FleaMarket版 - [出售] T420 dos 机 @ 635
全新未开封
价格 635 with your label
boa or bill pay。
Processor Intel Core i5-2430M Processor (2.40GHz, 3MB L3, 1333MHz)
Operating system No Preloaded Operating System
Operating system language PC DOS 2000 License
Display type 14.0 HD+ (1600 x 900) LED Backlit Anti-Glare Display, Mobile
Broadband Ready
System graphics Intel HD Graphics 3000
Total memory 2 GB DDR3 - 1333MHz (1 DIMM)
Keyboard Keyboard US English
Camera 720p HD Camera
Hard drive 500 GB Hard Disk Drive, 7200rpm
System expansion slots Expres... 阅读全帖
w******e
发帖数: 533
9
来自主题: FleaMarket版 - [出售] Lenovo T420 DOS机
ask for $550 obo, YL, PM
Processor Intel Core i5-2430M Processor (2.40GHz, 3MB L3, 1333MHz)
Operating system No Preloaded Operating System
Operating system language PC DOS 2000 License
14.0" HD (1366 x 768) LED Backlit Anti-Glare Display, Mobile Broadband Ready
System graphics Intel HD Graphics 3000
Total memory 2 GB DDR3 - 1333MHz (1 DIMM)
Keyboard Keyboard US English
Camera 720p HD Camera
320 GB Hard Disk Drive, 7200rpm
System expansion slots Express Card Slot & 4 in 1 Card Reader & Smart Card... 阅读全帖
j****n
发帖数: 3465
10
我想卖的物品:
1x Fujitsu LIFEBOOK LH531 Laptop, $375
单张面值:
可接受价格(必须明码标价!):
$375
物品新旧要求:
BRAND NEW, FACTORY SEALED.
Specifications:
Operating System: Genuine Windows® 7 Home Premium (64 bit, SP1)
Processor: Intel® Pentium® Dual-Core B940 processor (2.0 GHz, 2 MB
L3 cache, 1333 MHz FSB)
Graphics: Intel® HD graphics with up to 1.7 GB of shared graphics
Memory: 4GB DDR3 SDRAM, maximum 8GB
Display: 14" Crystal View WXGA HD display (1366x768), 220 nits brightness
Hard Drive: 320 GB S-ATA, 54... 阅读全帖
s****r
发帖数: 5136
11
2台 Toshiba Portege Z835-P370 13.3-Inch Ultrabook (Silver)
$850/each
PRODUCT SPECS:
Screen Range 13.3
Operating System Windows 7 Home Premium
Hard Drive Size 128 GB (SSD)
Processor Brand Intel Processor Series Core i5
Installed Memory 6 GB
Graphics Brand/ Model Mobile Intel HD graphics
Screen Type and Resolution 13.3" diagonal widescreen TruBrite TFT display at
1366 x 768 native
Networking Detail 10/100/1000 Ethernet
External Ports
RGB,HDMI,3 USB ports (1 USB 3.011 port + 2 USB 2.0 ports (1 with ... 阅读全帖
d**c
发帖数: 515
12
我想卖的物品:
Sony VAIO S Series (SVS1511GFYB)
单张面值:
$750
可接受的价格(必须明码标价!):
物品新旧要求:
Brand New, from Microsoft store
Processor:
Intel Core 3rd Generation (Ivy Bridge) i5-3210M 2.5GHz (3.1GHz w/ Turbo
Boost)
OS:
Windows 7 Home Premium x64
Display:
15.5" Full HD (1080p) IPS LED Display
Video:
1GB Nvidia GeForce GT 640M LE
Memory:
6 GB DDR3 SDRAM 1333MHz (4GB fixed onboard + 2GB removable)
Hard Drive(s):
640 TB 5400 RPM SATA Hard Drive
Optical Drive:
Slot Loading CD/DVD Burner
Connectivity:
Intel Centrino ... 阅读全帖
w*****r
发帖数: 2540
13
我想卖的物品:
US Spill-resistant keyboard with touchpad
Embedded Fingerprint Sensor, dedicated Smart Card slot, integrrated TPM
Intel® Core" i5-560UM Processor (1.33 GHz, 3 MB L3 Cache) with Turbo
Boost to 2.13 GHz
Genuine Windows® 7 Professional 64-bit (ENERGY STAR® qualified)
2 GB DDR3 800 MHz SDRAM memory (2 GB + empty slot)
320 GB (5400 rpm) hard drive
10.1" HD WXGA LED backlight LCD with webcam [FREE UPGRADE]
Bluetooth
Intel® Centrino® Advanced-N 6200 (802.11 a/b/g/n)
Blu... 阅读全帖
d******y
发帖数: 11545
14
配置如下:
Processor Intel Core i7-4510U 2.0GHz (with Turbo Boost up to 3.1GHz)
Memory 16GB 1600MHz DDR3L SDRAM/PC3-12800
Graphics Card Type: Integrated
Installed: Intel HD Graphics 4400 DDR3L SDRAM
Display Type LED Backlit Touch Display with IPS
In-plane Switching (IPS) Technology
Display Size 15.6"
Backlight LED
Aspect Ratio 16:9
Native Resolution 1920 x 1080
Hard Drive Installed: 1TB 5400 rpm + 8GB SSHD
Optical Drive None
USB Ports 2x USB 3.0 (B)
1x USB 2.0 (A)
HDM... 阅读全帖
j*******n
发帖数: 2205
15
9X Acer V3-371-596F 13.3" Laptop Intel Core i5 4210U (1.70GHz) 1TB HDD 8GB
Memory
@400 each
Your label, and defaul.
Learn more about Acer America V3-371-596F
Model
Brand
Acer
Series
Aspire
Model
V3-371-596F
Part#
NX.MPGAA.003
Quick Info
Color
Steel Gray
Operating System
Windows 8.1
CPU
Intel Core i5-4210U 1.7 GHz
Screen
13.3"
Memory
8GB DDR3L
Storage
1TB
Graphics Card
Intel HD Graphics 4400
Video Memory
Shared memory
Communication
Gigabit LAN and WLAN
Battery Life
Up to 6.5 hour(s)
Dimensions (... 阅读全帖
d****2
发帖数: 6250
16
来自主题: Food版 - 放厨房菜刀的Knife Block
solution 1: magnetic bar.
solution 2: ebay one with cleaver slot, if necessary, you can use a small
saw diying slot larger.
solution 3: custom made, $$$.
solution 4: diy from hd/lowes, $ only, haha
d******0
发帖数: 22800
17
没有啊。 那个micro SD卡slot太小了,要拿出来都要找在哪里摁一下才会弹出小卡片。
这个clip plus就在偶手里,你说了后,我用手指摸了摸去那个slot,还是很secure的
。只要你不用力按下去,不会从新index啊!
还有耳机孔在右边了。 比原来的在上面好多了。
c******n
发帖数: 58
18
本人自己的house,在皇后区最安全、最高档的社区之一:森林小丘的Van Court富人区
。犯罪率极低,女生深夜12点后单独从地铁站走回家都安全无虞。邻居主要为犹太人、
白人,几乎看不到黑人。走路到E/F车Forest Hills地铁站只需8分钟,如果雨雪天不想
走路,马路对面就是Q23路公交车,5分钟直达地铁站。E/F快车只需20分钟三站路即达
曼哈顿。
我上传了51张照片到https://goo.gl/photos/9oBz3ydNPXKZL9Jc6位于二楼,共有两个
天窗采光良好,1个带淋浴的大卫生间,洗衣机和干洗机仅供租户使用,有厨房可以做
饭。卫生间、厨房和洗衣机都只需和另一位室友合用(这是两室一厅里的一室,但厅不
大)。如果你开车,停车也很方便。带独立停车位,供租户专用,免费。皇后区排名第
一的森林小丘高中和144小学也距离很近。
房屋状况很好,没有任何下水或漏水或电力问题。可以很省心。房租900美元,水电煤
气网费由三个房间的租户一起分担(过去一年每月平均总开支90美金上下)。现租户将
于7月22日搬出,先签约者先得First come first served。sec... 阅读全帖
f*****g
发帖数: 15860
19
来自主题: Investment版 - 有人对Las Vegas的地产有研究吗?!
from casino's standpoint, indian casino is just a small factor. a lot of
states are legalizing or expanding this, which is bad bad news for LV.
on the east coast, DE/PA/WV now all have their own fully functional casinos
(with any games you can find in LV, they used to have only slot machines).
MD is building its own slots only casinos now but it'll be no surprise a few
years down the road they become the same. FL adds quite a few casinos in
last few years too... the whole gambling business is be... 阅读全帖
s*********e
发帖数: 36
20
非常非常感谢! 跟我晚上想得差不多。
我的方法的不同之处:
因为search engine (比如google)要求实时search,一次query得到一个特定数目的
URL条目
(比如说1000条)就够了。一旦hash table的size达到了,search就停止了。所以这个
timer的
time slot非常短。
我的方法是一台机器一个hashtable和一个buffer。 buffer装一个短暂time slot里本
机得到的
unique的URLs(相当与你的local 不同步 hashtable)。其他的一模一样

时一次,或
者一天一次)。另外其它的99台机器,每收到同
m******e
发帖数: 353
21
来自主题: JobHunting版 - 从水木上看到个数组题
say you have n negatives
neg = 0; //start slot for negative numbers
pos = n; //start slot for positive numbers
//start examining array[0-N]
i = 0
while(neg if array[i] < 0 swap array[neg] and array[i], neg++
else swap array[pos] and array[i], pos++
i++

Think again, that's not O(1) space.
Unless you calculate the correct positions and store them in O(n) space, you
cannot achieve O(n) in time.
m******e
发帖数: 353
22
来自主题: JobHunting版 - 从水木上看到个数组题
say you have n negatives
neg = 0; //start slot for negative numbers
pos = n; //start slot for positive numbers
//start examining array[0-N]
i = 0
while(neg if array[i] < 0 swap array[neg] and array[i], neg++
else swap array[pos] and array[i], pos++
i++

Think again, that's not O(1) space.
Unless you calculate the correct positions and store them in O(n) space, you
cannot achieve O(n) in time.
g*****i
发帖数: 2162
23
来自主题: JobHunting版 - 问10个老题
先谢谢了
1. 算POLYNOMIAL,比如5x^4+6x^3-7x^2-8=?
原文说思路是减少乘法变成x^2(x(5x+6)-7)-8, 然后找数据结构存数字和运算符.
我的问题是什么数据结构呢?是否要存prefix notation?
2.给你三个烤箱,每个烤箱可以同时烤两片面包,需要的时间分别是3分钟,4分钟和3
分钟。但第三个烤箱有一个slot出了点问题,每次只能烤面包的一面。所以这个烤箱三
分钟后只能算烤好一片半面包,你需要把那半片翻个面,在同一个slot里再烤一次才算
一片完整的。现在给你这三个烤箱,问烤好21片面包最少需要多少时间?如果是2100片
呢?如果是任意给定的N片,要求O(1)时间内给出最少需要的时间。
我的思路:12分钟正好20片没浪费,1-19事先算好存在array里.对吗?
3. read n lines of random numbers(space as delimiter) from a file, lines
with same numbers are treated as duplicated lines, regardless of the ... 阅读全帖
h*********n
发帖数: 915
24
来自主题: JobHunting版 - thread safe hash table
how to implement it?
simply using mutex on every table slot is both time and space expensive.
how to use read/write lock to solve it?
how about each slot has a thread pool? every thread can only access its own space.
w**z
发帖数: 8232
25
http://www.infoworld.com/d/the-industry-standard/startup-tech-j
ooking for a job as software engineer or developer? Think startup. A
national job board that advertises positions in startups lists approximately
14,000 openings. Engineering and other technical jobs account for more than
36 percent of the positions posted on StartUpHire.com, but the number of
qualified applicants registered with the service would fill only half of
those spots.
Overall, the picture is very bright. Jobs at startups, ... 阅读全帖
i**********e
发帖数: 1145
26
来自主题: JobHunting版 - Text Justification
这题大家写写看,虽然没什么算法,但是很考基本功。
另外,这是一道很好的面试题。因为题意可以很含糊,但是里边有很多细节需要搞清楚
,设计输入和输出。还有 corner cases 也有,很容易没考虑周全。
题目参考以下链接:
http://www.cs.rpi.edu//academics/courses/fall09/ds/hw/01_text_j
我对题目的理解,简短的述说:
"Text Justification"
Given an array of words and a length L, format the text such that each line
has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words
as you can in each line. Pad extra spaces ' ' when necessary so that ... 阅读全帖
i**********e
发帖数: 1145
27
来自主题: JobHunting版 - Text Justification
这题大家写写看,虽然没什么算法,但是很考基本功。
另外,这是一道很好的面试题。因为题意可以很含糊,但是里边有很多细节需要搞清楚
,设计输入和输出。还有 corner cases 也有,很容易没考虑周全。
题目参考以下链接:
http://www.cs.rpi.edu//academics/courses/fall09/ds/hw/01_text_j
我对题目的理解,简短的述说:
"Text Justification"
Given an array of words and a length L, format the text such that each line
has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words
as you can in each line. Pad extra spaces ' ' when necessary so that ... 阅读全帖
d**e
发帖数: 6098
28
来自主题: JobHunting版 - 谈谈刚面的一个design题
说起来,好像的确有这一种的vending machine。但我觉得还是要看哪些slot对应是哪
些type,选某种type,就到预先设定的slot找,返回第一支饮料。
d**e
发帖数: 6098
29
来自主题: JobHunting版 - 谈谈刚面的一个design题
说起来,好像的确有这一种的vending machine。但我觉得还是要看哪些slot对应是哪
些type,选某种type,就到预先设定的slot找,返回第一支饮料。
f**w
发帖数: 163
30
来自主题: JobHunting版 - 出个难点的题
Socket is way too slow
Interrupt is more of a hardware concept, and needs hardware support, but it
is a possible solution for extreme cases.
这个问题其实涉及到OS 的scheduler。 最好的practice是修改一下Kernel, 在送出
message的process的execute slot之内,主动悬挂,然后通知scheduler立即运行接受
message的那个process。
如果不修改Kernel,也要立即悬挂,希望scheduler能够选中那个正在等的process。否
则,当前process有10ms的time slot, 在第5ms送出message后不悬挂自己,那个
message最快也得再有5ms才能被处理。如果是股票交易,也许千万美金已经易手了,呵
呵。
f*********m
发帖数: 726
31
来自主题: JobHunting版 - T家电面一般有几轮? [UPDATE面经]
这个问题有什么好的答案吗?
给每个人建立一个粉丝list或数组,每个人的粉丝占一个hashtable slot。找交集时先
找到相应的两个slot,然后找他们的交集?
B*****7
发帖数: 137
32
来自主题: JobHunting版 - universal hashing的问题
这个我理解,但我不理解的是如何用多个hashing function却只用一个hash table。
举个例子吧。key1 and key2 are mapped to m1 by hashing function h1, and to m2
by hashing function h2. Apparently, the addresses of elements with key1 and
key2, respectively, are stored in slot m1 by h1. When the hashing function
is changed to h2, how do their addresses magically appear in slot m2 without
storing another hash table with their keys already mapped to m2?
困惑中~~
x*********w
发帖数: 533
33
来自主题: JobHunting版 - 我开始担心了。。。

Yes, the LCA needs to be filed and approved before submitting the H-1B. I
can confirm that we do already have an approved LCA for your case. Due to
the high volume of H-1B CAP cases, we use "Multi-Slot" LCA's, which allow
multiple people being sponsored for the same position and location to share
the same LCA. We do not update each individual's record to reflect the
filing of the Multi-Slot LCA, so it is normal that you do not see this
milestone information.
In the future, when we file an H-... 阅读全帖
s*********e
发帖数: 197
34
来自主题: JobHunting版 - 菜鸟追leetcode之一[text justification]
为了积攒人品RP,为了H1B顺利,为了有更好的工作,为了有一个更好的将来,开始追
leetcode,并写下自己的做题感受和大家分享,更是作为自己的督促。做题目的原则如
下:
1) Optimized Algorithms to pass the "large" test.
2) Proper abstraction
3) Write the code whose correctness is *easy* to reason about.
4) Favor readability over efficiency without compromising item 1).
5) Rearrangement and tweaking
我试图对自己进行训练的目标就是写完代码,能够确认自己写对了。目前为止,我有一
些小小的心得,会贯穿在下面和以后的文章中。第一,循环不变式;第二,优化控制流
;第三,适度抽象,语义精确的子函数。
抛砖引玉,献上第一弹:Text Justification. 为了更好的可读性,想用一种类C的伪
代码并尽量省略一些类型声明。很多叙述可能比较罗嗦,见谅。
首先要考虑的... 阅读全帖
G********g
发帖数: 226
35
来自主题: JobHunting版 - 这是HR太拽还是我太敏感?
一个业内最大的公司的HR约电面,很大的公司,全球超过11万员工
给了她三个time slots, 第二天早上HR回信如下:
Hi XXXX,
Unfortunately, I just checked my calendar and I am booked at all three times
you suggested below. Do you have any availability on Friday, 8/2? If so,
please let me know what times would work or you could propose another time
for Monday 8/5 or Tuesday 8/6.
Kind regards,
---------------------------------------------------------------------------
XXXX
Recruiting Specialist
但是我周五没时间,因为有好几个会议,就回信如下:
Dear Ms. XXX,
Thanks for your... 阅读全帖
t*****s
发帖数: 39
36
来自主题: JobHunting版 - 报F和G的offer+面经
找工作算告一段落了,这一个多月从版上学到了很多,非常感谢大家,也分享点儿自己
的情况。本人cs fresh phd,投了F和G,准备主要是leetcode,做了50题左右,还有就
是板上的面经。强烈推荐leetcode,特别是对于准备时间有限的同学,基本覆盖了各式
各样的题。虽然最后面试没遇到做过的coding题,但基本都差不多。
0. 给定一个双向链表,以及一个数组。数组里存着一部分链表节点的指针。问数组里
的指针们指向的节点在双向列表中可以分成几个连续的blocks。接着问如果是单向链表
怎么做。算法复杂度分别是什么。
1. coke machines。大中小三个可乐机,每按一次出可乐量分别在[Amin,Amax], [Bmin
, Bmax], [Cmin, Cmax]之间,但不能确定具体容量是多少,现在想通过按这三个可乐
机,达到容量为[D, E]之间的可乐,问能否做到。也就是能否找到非负整数x, y, z使
得x*Amin+y*Bmin+z*Cmin>=D并且x*Amax+y*Bmax+z*Cmax<=E。感觉是个扩展的背包问题
,我给了穷举法和DP的解法,不过面试官最后说有... 阅读全帖
h**o
发帖数: 548
37
来自主题: JobHunting版 - L面经,请大家帮我看看
use ring buffer:
假设 求 5minute 内信息:ring buffer size 设成 5 slots(还可以舍得更精细) 那么
第一分钟来的msg就扔到slot0,第二分钟来的msg就扔到slot1, 第5分钟来的msg就扔到
slot4,第6分钟来的msg就又扔到slot0,扔钱把slot0清空.。
每个slot放 map(key, msg).
A*********t
发帖数: 64
38
来自主题: JobHunting版 - Rocket Fuel一题
先抛砖。求2^i3^j数列的前k项和(从小到大排序)对q取模的值。
k很大,可以到10^15,q可以到10^9。
O(k)都不行啊。请大虾指教。
Rocket Fuel
Challenges / Roulette Predictor The contest has ended. Rank: N/A Score: 0
.00
After defeating the guard in pinball using your program, you are released
and try to make your escape. You find a ship captain who is willing to sell
you passage home, but unfortunately you have only a little money with you
since your earnings from the irrigation project are stashed in hiding and
you don't have time to retrieve them... 阅读全帖
c******e
发帖数: 73
39
来自主题: JobHunting版 - 请教一道careercup上面的概率题
It is filled all empty slot with n - k
for example
k = {0, 2, 5} n = 6
Uniform(30 generate random 0 - 3 and mapped to the empty slot as 1, 3, 4 .
m******e
发帖数: 82
40
来自主题: JobHunting版 - vm onsite 面经
第三题是不是这样
方法一,对hash table的add/get/change操作都加锁,且是同一把锁,可以保证thread
-safe,但是效率低下。
方法二,对每一个slot各加一把锁,效率高,缺点是锁的数量要随
着slot扩展而增加,不太现实。
方法三,参照java的ConcurrentHashMap,将hash table划分为若干个segment,比如32
,每个segment拥有一把锁和一个非thread-safe的hash table。任何key先进行一次
hash,选择对应的segment,如果两个key hash到同一个segment就争抢同一把锁,否则
它们之间没有影响。抢到锁之后就可以对非thread-safe的hash table进性具体操作。
这个方法相当于最多允许32个线程同时对hash table访问。
a***e
发帖数: 413
41
我不知道这种情况怎么继续努力啦,只能看看别人的答案?我觉得自己的思路是对的啊,
。。。有人碰到类似情况吗?
Last executed input:
["My","momma","always","said,",""Life","was","like","a","box
","of","chocolates.","You","never","know","what","you're","gonna","get."],
12
Given an array of words and a length L, format the text such that each line
has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words
as you can in each line. Pad extra spaces ' ' when ... 阅读全帖
a***e
发帖数: 413
42
多谢。又是题没看清就开写了。。。。。。。
If
the number of spaces on a line do not divide evenly between words, the
empty
slots on the left will be assigned more spaces than the slots on the right.
For the last line of text, it should be left justified and no extra space
is
inserted between words.
这种题如果面试碰到,把题理解清楚都要花好久吧。。。。。。。。。有人真的在面试
的时候碰到类似的吗?面试官拿张纸给你还是口头描述?Text Justification 这个东
西我都是第一次听说,当然word里面老用。
a***e
发帖数: 413
43
多谢,是1的问题,改了后马上变成wrong answer 了。。呵呵
2. 我没理解对 If the number of spaces on a line do not divide evenly between
words, the empty slots on the left will be assigned more spaces than the
slots on the right.
i*****o
发帖数: 105
44
it works one way that when they mismatch, build a FSM with three slots,
corresponding to insert, change, skip. Then continue matching, asl long as
any of these slots match continuously until end, return 1 other wise return
0.
I think it is hard to write clean code in a shot, too many boundaries.
d********4
发帖数: 32
45
来自主题: JobHunting版 - 关于10月之前transfer H1B的终极讨论
楼主前两天还在纠结 h1b vs 更好的工作的问题
http://www.mitbbs.com/article_t0/JobHunting/32963833.html
经过版里筒子一顿教训,楼主知错了。。H1B的确来之不易。。楼主也想好了,先保H1B
为重。
没想到今天又有新进展!!
新公司的HR打电话来说,他们有可能说服律师帮楼主transfer H1B!但有一个前提:无
论denial还是approval,都必须选择新公司了,i.e.,不能说transfer denial的话还
想回旧公司。
现在楼主想跟大家分享一下最近搜索到的所有关于10月之前transfer的信息。也求大家
知道的信息和input!
1. 楼主给至少15个移民律师打过电话,大概一半说可以,一半说不行。说不行的律师
大多提到了移民局最近的新规定新理解,就是10月之前的transfer不能exempt from
cap。而在2014年之前都是可以的。
2. 在所有说可以的律师里面,楼主选择了张大钦律师进行深入交谈并做了500刀的付费
咨询。楼主问了10个关于H1B transfer before Oct 1st的问... 阅读全帖
l********e
发帖数: 103
46
来自主题: JobHunting版 - 请教大侠们hash table 多线程问题
这个面经宝贵~
我会去看 相关内容
不过 能说说 一般这些问题 怎么回答能过呢?
我觉得如果要用 锁 希望效率高 就要在每个slot上都有一个独立的锁
1. 如果有大量的写入新value,如何保证concurrency和efficiency 除了用每个
slot用独立一个锁 增大array size, 不要产生长linked list, 还能什么别的方法来效
率高呢?
2. 如果有大量的写入新key :用很大的array, 减少冲突,减少expand的情况?
3. 如果有大量的写new key/删除new key 同上(感觉和上一个区别不大。。。)
4. 如果有大量的读和少量的写 :用读写锁?
好像答的都差不多呢。。。
l*****o
发帖数: 26631
47
来自主题: Living版 - 想买个火鸡
我去年试的这个recipe, 前面准备时间有点长, 烤的时候比较简单
Crisp-Skin High-Roast Butterflied Turkey with Sausage Dressing
Serves 10 to 12
If you prefer not to brine your turkey, we recommend a kosher bird. The
dressing can be made with cornbread, challah, or Italian bread, but note
that they are not used in equal amounts. If you don’t own a
broiler pan top or if yours does not span the roasting pan, try a sturdy
wire rack that rests comfortably on top of a 12 by 16-inch disposable
roasting pan. Cover the rack with a la... 阅读全帖

发帖数: 1
48
Quick Overview
8MP/4K, [email protected], 2.8mm Fixed Lens, Matrix IR 2.0, Up to 100 feet, H.
265, H.265+, H.264, H.264+ Ready, True WDR 120dB, IP67, IK10, MicroSD Slot
up to 128GB, DC 12V, PoE, 3-axis
8MP/4K High Definition
Up to [email protected]
2.8mm Fixed Lens
Matrix IR 2.0, IR Range up to 100 feet
H.265, H.265+, H.264, H.264+ Ready
True WDR 120dB
IP67, IK10
MicroSD Slot up to 128GB
DC 12V, PoE
3-axis
https://www.ebay.com/itm/CMIP7382W-28M-Platinum-Network-Vandal-Dome-IP-
Camera-4... 阅读全帖
z****n
发帖数: 5870
49
月初的时候 申请了Citi的100k卡。还在发愁怎么花掉。。。。上了船发现他们的
casino的slot machine有个功能就是:
charge to room...
每天可以charge <$3000.(每次up to $300.一共十次)
但是你在charge to room之后再cash out之前一定要至少在slot machine上面玩儿两下
。就是按两次键。譬如说每次4毛的那种玩儿两次。
用这种方法,成功的让carnival charge了我的citi card $10000.然后用cash out的方
法直接从cashier desk那里直接取现金,取出了$10000.
可惜是临上岸两天才发现这个功能。否则,就可以把LD的那张citi卡也给刷完了。。。。
只能下次坐船的时候才能继续刷了。。。
q******o
发帖数: 1107
50
有人转贴到别的地方去了:
发信人: zaosen (leng), 信区: Money
标 题: 在Carnival Cruise上快速方便的花掉了$10000 发信站: BBS 未名空间站 (
Tue May 27 17:36:12 2014, 美东)
月初的时候 申请了Citi的100k卡。还在发愁怎么花掉。。。。上了船发现他们的
casino的slot machine有个功能就是:charge to room...
每天可以charge <$3000.(每次up to $300.一共十次)
但是你在charge to room之后再cash out之前一定要至少在slot machine上面玩儿两下
。就是按两次键。譬如说每次4毛的那种玩儿两次。
用这种方法,成功的让carnival charge了我的citi card $10000.然后用cash out的方
法直接从cashier desk那里直接取现金,取出了$10000.
可惜是临上岸两天才发现这个功能。否则,就可以把LD的那张citi卡也给刷完了。。。。
只能下次坐船的时候才能继续刷了。。。
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)