Thread: Frequent Job Interviewing Questions

  1. #46
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > It's a circular singly linked list.
    But there is still an external pointer which points to ONE of the nodes of the ring, and if you delete that node of the list without updating the external pointer you still lose.

    But for any other node, you just chase round the list until you find the previous node, then it's easy to delete a node.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  2. #47
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    I didn't read all of the thread (just the first few responses), but wanted to add this: I really don't understand the need for something like this in an interview. Sure, I guess it's nice to know that the person you're about to hire knows the ins and outs of a language... but why does it have to be so detailed? I never had some of the CS classes where they define processes of how to program and I was never told that there were "steps" to the process and certainly never had them named for me.

    I just do it... and I know how to debug and I bet I could program better than a lot of people that apply for these jobs. Just because they can tell you a few small differences between pre and post increment doesn't mean that they can figure out the best algorithm or the fastest way to do something.

    It just ........es me off and I know I'm going to face it again when I look for a new job.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Totally confused on assigment using linked lists
    By Uchihanokonoha in forum C++ Programming
    Replies: 8
    Last Post: 01-05-2008, 04:49 PM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  3. Object oriented job questions
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-28-2004, 05:06 AM
  4. Looking for sample MC test questions for a job
    By garp in forum C Programming
    Replies: 2
    Last Post: 09-29-2003, 05:30 AM
  5. I can't find a job.
    By Cheeze-It in forum A Brief History of Cprogramming.com
    Replies: 42
    Last Post: 06-29-2003, 08:35 PM