Globallogic Technical
interview:
- How do you rotate an AVL tree?
- What is a local block?
- Can we store variables in local blocks?
- The use of local blocks for storing variables is unusual and therefore should be avoided, with only rare exceptions. One of these exceptions would be for debugging purposes, when you might want to declare a local instance of a global variable to test within your function. You also might want to use a local block when you want to make your program more readable in the current context. Sometimes having the variable declared closer to where it is used makes your program more readable. However, well-written programs usually do not have to resort to declaring variables in this manner, and you should avoid using local blocks.
- What is a lvalue and rvalue?
- Retrieve the unique rows from
table without using UNIQUE and DISTINCT keywords.
- Differentiate between SQL and
ORACLE joins and write their syntax.
- Write a program to reverse a
string.
- Write a program to find factorial
of a number using recursive function.
- What is the difference between
Stack and Queue.
- What is the difference between
call by value and call by reference.
- Why Pointers are not used in C++?
- What is Data mining?
- Was asked basic C/C++ concepts
like Polymorphism, Inheritance, etc.
- Why has Cloud Computing become an
important technology these days?
- Questions based on networking
theory and networking models.
- Questions about basic Data
Structures, like Stack , Queue, Array, Link lists etc.
- Puzzles like connecting 8 dots
with 3 lines, boiling egg and rope puzzles.
- Explain the access modifiers for a
class, method and variables?
- Can a private method be declared
as static?
- How many JVMs can run on a single
machine and what is the Just-In-Time(JIT) compiler?
- What is a default constructor and
also define copy contrucyor?
- What is the use of a ‘conditional
inclusion’ statement ?
- Given a singly linked list,
determine whether it contains a loop or not without using temporary space?
- Implement two stacks using a single
array.
- Describe the Big-O Notation.
- What is garbage collection? Can it
be forced to run?
- How will you reverse a link list
without using recursion?