Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can’t pass the value k to any function also.
What are the 4 basics of OOP?
Define Data Abstraction. What is its importance?
Given an array of size n. It contains numbers in the range 1 to n. [...]
Why was it that you left the last job that you were at?
What do you think your top 3 strengths are?
What is most important to you in a job?
Major difference between FAT and NTFS on a local machine?
How many passwords by default are remembered in an active directory?
What is a C name record (in DNS)?
What [...]
Nick Halstead on his blog posts a list of interview questions from Yahoo! that a friend of his supplied, apparently free of NDA. Yahoo! is a strong PHP shop, with a few big names like Rasmus Lerdorf leading PHP development there.
A few questions on PHP functions, and “what does this code do?” type of [...]
By admin | March 21, 2008
Adam and Bob have exact speeds for walking and running - neither Adam outwalks Bob, nor Bob outruns Adam.
But for a given distance, Adam runs half the time, then walks another half. Bob runs half the distance, then walks another half.
If they were to compete, which distance would Adam win at, and which distances would [...]
Posted in General, Puzzles |
By admin | January 27, 2008
What is Active Directory?
What is LDAP?
Can you connect Active Directory to other 3rd-party Directory Services? Name a few options.
Where is the AD database held? What other folders are related to AD?
What is the SYSVOL folder?
Name the AD NCs and replication issues for each NC
What are application partitions? When do I use them
How do you create [...]
By admin | December 29, 2007
Jay Pipes, author of Pro MySQL, on his blog posts 10 questions and answers dealing with MySQL speed optimizations.
Which will be faster out of these two queries - one with OR or one with IN?
Where does MyISAM cache table records?
Which will be faster out of queries with explicit INNER JOIN and implicit one?
Is InnoDB faster/better [...]
By admin | December 28, 2007
Some would say that a position of a search engine marketer or optimizer is not a very technical one. True, compared to Linux kernel hacker, the technical knowledge required for entering SEO field seems simpler, but when the site is built and serving pages, you’re very likely to have SEO go over the site structure [...]
Posted in General, Web dev |
By admin | December 11, 2007
These questions were sent in from IBM. They discuss various telecom and networking topics.
OSPF
Describe OSPF in your own words.
OSPF areas, the purpose of having each of them
Types of OSPF LSA, the purpose of each LSA type
What exact LSA type you can see in different areas
How OSPF establishes neighboor relation, what the stages are
If OSPF router [...]
By admin | December 8, 2007
What is the most efficient way to reverse a linklist?
How to sort & search a single linklist?
Which is more convenient - single or double-linked linklist? Discuss the trade-offs? What about XOR-linked linklist?
How does indexing work?
char s[10];
s=”Hello”;
printf(s);
What will be the output? Is there any error with this code?
What is the difference between
char s[]=”Hello”;
char *s=”Hello”;
Please give a [...]
By admin | December 7, 2007
A TechInterviews reader sent in the questions he faced at a major global company. The questions are fairly generic:
Tell me about your analytical skills, cite some examples of how you have used your skills in the past.
What are some of your long term goals?
What are your short term goals?
Where do you see yourself five years [...]
By admin | November 29, 2007
What is Active Directory?
What is LDAP?
Can you connect Active Directory to other 3rd-party Directory Services? Name a few options.
Where is the AD database held? What other folders are related to AD?
What is the SYSVOL folder?
Name the AD NCs and replication issues for each NC
What are application partitions? When do I use them
How do you create [...]
By admin | November 2, 2007
Explain the difference between a static library and a dynamic library? - Static library is linked into the executable, while a dynamic library (or shared object) is loaded while the executable has started.
How do you create a static library? - If you have a collection of object (.o) files, you can do it by running [...]