HITEQUEST
technical interview Q & A for high-tech professionals
 
 
Interview Questions
Electronics Hardware
Computer Software
Intel screening questions
Quick Thinking Tests
General questions
Phone screening questions
Submit your Q or A

Resources
Technical articles
Technical discussion
Engineers share info
Resume and interview
How to get a job in Silicon Valley
How much are you worth on market?
Why you may need an agent

Break point
Written Exam
Logic Tests
Professional Test
Tomato company
Cup of coffee
How stock market works
Engineering jokes

About Hitequest
About Hitequest
Home page

 
 
 
 
 
 

 
=Computer Software Questions=

   
   

Q: Reverse linked list.
 
 

 
 

A:
Create a new pointer, so you have one on the original list and one for the new list. Add the first node from the old list to the new list and increment the old pointer. From then on, get the top node (call it N) of the old list, increment the old counter, set N.next equal to the new pointer's value, and set the new pointer to N.
 
 
 
 
 
 
 

Submit your answer here