Difference between revisions of "Interview Questions"

From Hawk Wiki
Jump to: navigation, search
(Calculate degree between hour and minute hand)
(Java)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Some Translation==
 
==Some Translation==
n! Multiplicative
+
n! Factorial
 +
 
 
==Object-oriented programming==
 
==Object-oriented programming==
 
Check here [[Interview_Questions(OOP)]]
 
Check here [[Interview_Questions(OOP)]]
Line 6: Line 7:
 
[[C++ interview]]
 
[[C++ interview]]
 
==Javascript/Jquery==
 
==Javascript/Jquery==
[[AJAX&Jquery]]
+
[[AJAX&Jquery]]<br>
 +
[http://{{SERVERNAME}}/downloads/designpattern/ Design Pattern]
  
 
==Algorithm Interview Problems==
 
==Algorithm Interview Problems==
 
[[Algorithm Problems]]<br>
 
[[Algorithm Problems]]<br>
 +
==Data Structure==
 
[[All about Binary search tree]]<br>
 
[[All about Binary search tree]]<br>
 
[[All about Linked List]]<br>
 
[[All about Linked List]]<br>
[[Heap & Heap Sort]]
+
[[Heap & Heap Sort]]<br>
 +
[[TRIE]]<br>
 +
[[Algorithm Sorting]]<br>
  
 
==Regular Expression ==
 
==Regular Expression ==
Line 19: Line 24:
 
==PHP==
 
==PHP==
 
[[PHP interview]]
 
[[PHP interview]]
 
+
==Java==
==Swap 2 numbers in one line==
+
[[Java interview]]
<pre>
+
==Python==
//swap
+
[[Python interview]]
$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>
+

Latest revision as of 00:27, 17 March 2015

Some Translation

n! Factorial

Object-oriented programming

Check here Interview_Questions(OOP)

C++ Interview

C++ interview

Javascript/Jquery

AJAX&Jquery
Design Pattern

Algorithm Interview Problems

Algorithm Problems

Data Structure

All about Binary search tree
All about Linked List
Heap & Heap Sort
TRIE
Algorithm Sorting

Regular Expression

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

PHP

PHP interview

Java

Java interview

Python

Python interview