Difference between revisions of "Interview Questions"

From Hawk Wiki
Jump to: navigation, search
(Calculate degree between hour and minute hand)
(Swap 2 numbers in one line)
Line 19: Line 19:
 
==PHP==
 
==PHP==
 
[[PHP interview]]
 
[[PHP interview]]
 
==Swap 2 numbers in one line==
 
<pre>
 
//swap
 
$a=10;
 
$b=20;
 
$a=$a+$b-($b=$a);
 
echo $a." and ". $b."\n";
 
// output 20 and 10
 
$a^=$b^=$a^=$b; //This has a bug. You cannot do things like this $a^=$a^=$a^=$a
 
echo $a." and ". $b;
 
//output 10 and 20
 
</pre>
 

Revision as of 23:19, 3 April 2012

Some Translation

n! Multiplicative

Object-oriented programming

Check here Interview_Questions(OOP)

C++ Interview

C++ interview

Javascript/Jquery

AJAX&Jquery

Algorithm Interview Problems

Algorithm Problems
All about Binary search tree
All about Linked List
Heap & Heap Sort

Regular Expression

http://www.zytrax.com/tech/web/regex.htm

PHP

PHP interview