-->

EveryBrickMatters

Four Tablet Puzzle

There are four tablets among which there are 2 pairs of two different type of tablet .But  you can't differentiate between four tablets...


Ebay Interview Solution Set -1

Round 1   Q1. Let us assume there are 3 baskets with different number of balls say p,q and r. Every ball has a number written on it...


Postfix Evaluation

Write a program for Postfix Evaluation using Stack ? For example if we have an expression  432*+5- then it should return 5. Algorithm : ...


View in database

What is View in database ? Why do we need to create View ? A view is virtual table which is created from one or many tables which depends ...


Mutex vs Semaphore

Difference between Mutex and Semaphore   Mutex: Is a key to a toilet. One person can have the key - occupy the toilet - at the time. When...


Kernel , Monolithic Kernel and Microkernel

What is kernel ? Explain the different types of kernel ? Kernel is the main component of the operating system.It is a bridge between appl...


Balancing of Brackets in Expression(Application of Stack)

Que : Write a program for checking balancing of brackets in expression. For example : If expression is [{()}] then it should return true. ...


Count the number of nodes in a binary search tree

Que :-Write a program to count the number of nodes in a binary tree. For example if we have the following tree , then it must return 5. ...


Storage Classes in C

Auto Storage Class 1. Auto variables are declared in the function in which they are to be utilized. For example : void function1 () ...


Reverse a string using pointer in C

void reverse ( char * str) {        char * begin = str;        while (*str) {               str++;        }         char ...


Different Anamolies in Database

Without normalization, it become difficult to handle and update the database without facing data loss. Insertion , Updation and Deletion An...


Wild Pointer , NULL Pointer , Generic Pointer and Dangling Pointer in C

Wild pointer: A pointer in c which has not been initialized is known as wild pointer. Example: # include<stdio.h> int main(){ ...