Thursday, January 29, 2015

Interview Questions Part 1

  • ·         Traverse a binary tree
  • ·         Reverse every k-element in a linked list
  • ·         Find the combination of elements with sum as N.
  • ·         Find the duplicates in Linked List
  • ·         Print binary tree in level order
  • ·         Validation of parenthesis in string (Total number should be equal for “(“ and “)”  )
  • ·         Swap the nodes in binary tree.
  • ·         Print Binary tree in pre order/post order/ inorder
  • ·         Stack operations using O(1)
  • ·         Implement Queue Using Linked List
  • ·         Merge Sort implementation.
  • ·         How to find the linked list is circular or not.
  • ·         Find the repeated values in String.


Thursday, December 25, 2014

Basic Sql interview questions

How to find highest salary
How to find nth salary
What's the use of joins
Use of aggregate operations like min Max avg count ..
How to eliminate duplicate records
Use of inner and outer joins
Left right full outer joins
Basic crud operations in SQL example using create select insert delete
Use of in and between operations
Conditional statement in SQL
Use of views trigger and procedure
Group by having example
String operations
Inner and outer queries