注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
刚刚面完。。。考了两个coding,和一个ood,问了一些简历。并没有像之前说的会考基础概念和数学,CPP从头到尾,也没有用第二种语言。所以面试提前结束了。1. 利口 耳凌溜。 因为我之前 oa的时候发邮件说他们题目有问题(题目有 bug),考完被面试官问为什么觉得有问题。
2. 利口 溜酒漆。
ood 是parking lot.
我把我复习准备的资料贴在了下面,这里也感谢以下提供面经的各位小伙伴们。(导致帖子很长,但是同学们就不需要自己的大米下载啦!)。就不设限制啦,毕竟我大米也不多,非常懂没米的心酸。
大家如果觉得我的东西还能用的话,可以可以给我加个米,点下方的"评分",就可以给我加米啦~(不扣你自己的米哦!)
//**************************************************************以下是我准备的资料******************************************************************************
Restaurant reservation online answer int CheckTableAvailability(int NumPeople, time_t TimeOfBooking, int *tableNumber, time_t *alternativeTime)
{
if(isTable_Available(NumPeople,TimeOfBooking))
{
*tableNUmber=isTable_Available(NumPeople,TimeOfBooking);
return 1;
}
if(alternate_time(NumPeople,TimeOfBooking))
{
alternatetime=alternate_time(NumPeople,TimeOfBooking)
return 2;
}
else
{
cout<<"no Booking possible";
return 0;
}
} Class: Table
{
int TableId;
int SeatingCapacity;
string speciality;
}
Class Booking
{
int bookingId;
int TableId;
time_t startTime;
customerDetails;
}
Class: BookedTables
{
HashTable bookings ( key: timeslot, value: int booked[NumTables] );
// int array will contain whether the table is booked or not for this time slot. A value of 0 means not booked. A value other than 0 represents a booking id
} My answer enum week{Mon, Tue, Wed, Thur, Fri, Sat, Sun}; Class Table{ Int tableId; Int serveNum; enum tableType; Bool isAvailable; vector<TimeInterval> vec; }; Class Booking{ Int bookingId; Int tableId; time_t startTime; time_t time_t espectedEnd; Time_t timeForLate; }; Class customer { Int customerId; String customerName; String cont t">6.把一个矩阵的每一列进行变换 7.如果define一个函数叫plot, matlab能运行吗 8.继承多态概念 9.design ATM 10.O(nlogn) 的base是啥 11.一个序列求第n个数是啥 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Java部分:问了== 和equals的区别? 多态和继承,垃圾回收,还有如果A,B互相调用,可否eligible? 用final和finalize一定可以保证回收么? java是否有destructor?No OOP和多态的概念,什么叫Graph OOD:饭店点餐系统 尽量不要写很多东西,直接大概写写一定要说清楚,三哥哥很不耐烦的样子 算法部分:Sort的方法和算法复杂度 给大家一个小技巧,可以通过三哥哥的反应来判断你自己的回答是不是对的。如果你答错了,三哥哥会说“你确定是这样?”这就是提示大家赶紧改下答案,然后象征性的解释一下。。。因为三哥哥没啥耐心,我看基本上你答对了他会说好,那就进行下一个吧。。。 总之lz感觉很不好,三哥哥在你问了第三次“Sorry”之后就很aggresive了。。。所以lz也变得非常aggressive,然后就坐等据信吧,感觉跪到不行。。。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. What is indefinite integral and definite integral? (Basic Calculus) 2. Give a matrix A, what does A.' mean? (Matlab) 3. How to plot 3 points using '*' and colored in green? (Matlab) 4. What is linear phase (Signal Processing) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|