This topic has been archived. It cannot be replied.
-
枫下家园 / 护照签证 / C++ questionshi, experts
Who can answer the 2 questions?
1)What is the difference between arrays and linked lists, in terms of:
a.the relative memory locations of their elements?
b.the kind of access allowed?
c.the efficiency of insertions and deletions?
d.the efficiency of traversing the entire container?
2)What is an iterator?
Thanks.
-guest:guest;
2000-12-1
{343}
(#16754@0)
-
In my view, there are no experts at C++ for new immigrants . These questions are just basic problems. Maybe, all the C++ experts are in CHINA
-guest:guest;
2000-12-2
(#16867@0)
-
I agree with you. C++ has many dark corners.But I don't think there are many C++ experts in China. Only those who contributed to the development of langauge can be counted as C++ expert.
-jabber(jabber);
2000-12-2
{145}
(#16873@0)
-
Many C++ programmers know the answers, but few of them can give the full answer.Could you please offer us an answer by summarizing some book sections?
-jabber(jabber);
2000-12-2
{70}
(#16868@0)
-
Let me try to answer the first one, based on my data stucture knowledge
-sailor(Sailor);
2000-12-2
{881}
(#16877@0)
-
I discourage some questionsIn the job interview, you may be asked some boring questions such as
1) What is an iterator?
2) What is a cookie?
3) What is a virtual function?
4) What is a default constructor?
5) Waht is polymorphism?
6) What is EJB?
7)What is URL Rewriting?
........
If you are asked such questions, you had better search for answer from the books.
-jabber(jabber);
2000-12-2
{358}
(#16880@0)
-
Sailor, you got 100. Why did you delete that guest's comments on my response? :-)-):
-jabber(jabber);
2000-12-2
(#16884@0)
-
there are two of problems when i got an interview.
-guest:guest;
2000-12-2
{641}
(#16888@0)
-
I think it is not good to include current position in linkedlist.So it is better to have a class call iterator so a linkedlist can be share by multthreads which use a same linkedlistand the threads can insert or delete node in difference position of the linkedlist
-guest:servlet;
2000-12-2
{82}
(#16900@0)