北电英文笔试考试真题

招聘笔试题2018-11-08李一老师

1.tranlation(mandatory)

cdmavendershaveworkedhardtogivecdmaroamingcapabilitiesviathedevelopmentofruim-essentially,asimcardforcdmahandsetscurrentlybeingdeployedinchinafornewcdmaoperatorchinaunicom.koreancellcoktfdemonstratedearlierthisyeartheabilitytoroambetweengsmandcdmausingsuchcards.however,onlythecardcontainingtheuser’sservicedatacanroam-notthecdmahandsetortheuser’snumber(exceptviacallforwarding).

2.programming(mandatory)

linkedlist

a.implementalinkedlistforintegers,whichsupportstheinsertafter(insertanodeafteraspecifiednode)andremoveafter(removethenodeafteraspecifiednode)methods;

b.implementamethodtosortthelinkedlisttodescendingorder.

3.debugging(mandatory)

a.foreachofthefollowingrecursivemethods,enteryintheanswerboxifthemethodterminaters(assumei=5),otherwiseentern.staticintf(inti){

returnf(i-1)*f(i-1);

}

ansewr:

staticintf(inti){

if(i==0){return1;}

else{returnf(i-1)*f(i-1);}

相关推荐

猜你喜欢

大家正在看

换一换