Interview questions

13 12 2006

Sometime ago i was in the job market to find my next job. Believe me, finding a new job is no easy experience. It is quite a stress.Esp if you are looking out of town. I was wanting to move from Milwaukee to Seattle.

It was tough trying to figure out what i was looking for. I was quite surprised by the amount of offers. If you dont know what you are looking for, there are enough folks outthere to confuse. Remember there are only a few good jobs. You get your shot in some firms only once.

So even though i was interviewing for more lead development positions. Folks on the other side of the phone esp some recruiters only want to hear what they want to hear. They sometimes push your resume around faster than you want. Do your homework well before looking

Here are many of the questions in no specific order .

1) Write a program which converts a string containing a roman numeral into an integer. One example of this would be if you took as input “IX” the program would output 9. You do not need to deal with roman numerals five thousand or above.

2) How does a doubly linked list work. Write code to show it?

3) Writer the String Index of method without using any strings? ie Foo.IndexOf(3)

4) What is the best way to ( performance ) to do a anagram

5) Write a Java program that takes a command line argument and prints all of its possible anagrams, without regard to lexical duplicates. For example, if the input is “aab”, six strings will be produced. Your primary goal is to do this using as little memory as possible, but see if you can find an algorithm that is both memory and computationally efficient. Along with your solution, briefly describe how much memory and time it uses for an input of size N. Try and limit your time on this problem to an hour or two, though if you end up spending more, just let me know.

6) What is SOA in your perspective? Why is it any different?

7) What are the pros and cons of binary serialization vs XML serialization in java

8) Describe the quickest way to reverse an 3 * 4 matrix of integers?

9) Why should we hire you?

10) Describe the quicksort algorithm?

11) What are generics?

12) Do you TDD? If so what are some benefits you see

13) What are challenges in interop between java and .NET technologies?

I will add more when i remember. What is odd is many of these have nothing do with work. How many times have i needed to write a doubly linked list?

Companies need to judge more than just abstract knowlege. A developer / Architect is not simply one that can crank out alogorithms. Not sure why interviewers are not more realistic. You are hiring a person to contrubute to your organization not some code monkey.

Go beyond algorithms, and text book questions?

Be realistic and ask questions that make real sense. in todays world of google, its not the how to solve a problem, its about providing customer value, being a professional that can solve bigger customer problems.

In the end of the day, you should add value to the firm, to the customer and be a excellent team member that can listen well. code with pleasure and make things happen. It does not matter if you are the pizza under the door guy anymore.

Wake up interviewers. Get real.





Santa goes TDD

8 12 2006

Here is a funny attempt by a team mate today to increase test coverage in my team:)

You better watch out,
You better not cry,
Better not pout,
I’m telling you why:
UnitTest Claus is coming to town.
He’s making a list,
And checking it twice;
Gonna find out
Who’s naughty and nice.
UnitTest Claus is coming to town.

He sees you when you’re sleeping.
He knows when you’re awake.
He knows if you’ve been bad or good,
So be good for goodness sake!
Oh, you better watch out!
You better not cry.
Better not pout,
I’m telling you why:
UnitTest Claus is coming to town.
UnitTest Claus is coming to town!





Back online after a long absence

1 12 2006

After a strenuous last couple of months which involved moving from one city to another, change of jobs, new school for kids and so on, At last I am back on somewhat of a normal schedule. ( i.e I can work back late nights:)

So we moved to Seattle after years in Milwaukee. So far so good. Except when it snows in Seattle it sucks as people have no clue how to deal with even a few inches of snow.

I also got my officially slogged three year MBA degree in strategic management in the mail last week. Need to put all those skills to use someday, for now I continue to do what i love to do anyways. That is develop software.

After working in the Agile software industry for years, I decided to take a shot at Solutions IQ, where everything that is done is Agile.

I do agile , XP, TDD and Scrum to my hearts content . What an awesome way to get paid to do something that you love to do anyways.

Now i am new to this place and as always its a tough thing to start from. It takes a while to find anything in a new place including new friends and so on. But I look forward to this pleasant change.

Joined the Northwest entrepreneur network, check it out. Trey do have some very neat gatherings.

After three years of hectic MBA lfe, it is quite a change to have a life. Not sure how three years went by, except i know my car made the 100 K mark in three years.

Have been reading a lot lately, lots of agile stuff, software security based books and so on.

So if you are in the area and are interested in TDD, Agile practices, ruby, enterpise architectures, Software process issues, New business software ideas, I would love to hear from you over a famous seattle coffee.