乔布咨询 乔布堂 乔布圈 | 博客 圈子 访谈录 求职管家 更多
乔布圈
乔布堂旗下求职网
发生错误? 有改进意见?
乔布圈反馈小组 »
订阅最新面经

显示/隐藏功能列表栏 SAP题目

SAP题目
发布时间: 2009-03-03
涉及的公司:
查看: 117

1.Jeff and Diamond like playing game of coins,One day they
designed a new set of rules:
1)Totally 10 coins
2)One can take away 1,2or 4 coins at one time by turns
3)Who takes the last loses.
Given these rules Whether the winning status is pre-determined or not
2.the UI specialist Dafna found a problem that some of the
Items on the marketing document form overlapped with each other.
because this form was implemented by differnt developers and
they didn''t care the particular appearance of one item.Product manager
Tidav decided to write one small checking tool to generate the overlapped
items on all forms.He called in his guys to discuss about it.
Suppose the input is the integer coordinates (x,y)od the items (all rectangl
es)
on one form.Construct an efficient methed to find out the overlapped items.
Hint:The most direct way to do so is comparing each items with
the others,Given 1000 forms.each with 100-1000items on average.
the O(n2) algorithm is costly.Some guru suggested that one O(n)
method could help only if 6.5 kilobytes extra storage is available.
One elite argued that he could cut down the number to 1%,It''s now your
turn to describe the idea.write out the pseudocodes,vertify his
algorithm and propose more advanced optimization if possible.
3 in a file system ,data need not be sequentially located in physical
blocks,We use a number of tables storing nodes imformation.Suppose
now we use a fixed node size of variable-lenth n,it takes [n/(k-b)]
nodes to store this item.(Here b is a constant, signifying that
b words of each node contain control information,such as a link to the
next node).If the avarage length n of an Item is N,what choise
of k minimizes the average amount of storage space required?
(Assume that the average value of (n/(k-b)) mod 1 is equal to 1/2 ,for any f
ixed k ,
as n varies)


乔布堂
Copyright © 2008-2012 qiaobutang.com. All rights reserved. 沪ICP备08114117号
支持 Firefox , Safari , IE 7