Month: August 2017

Rounding Marks

                              Rounding Marks In a college, each student receives marks M in any of the subjects in the range from 0 to 100. - If the difference between the marks and the next multiple of 5 is less than 3, then

9 Computer tricks that are too awesome to be shared!

9 Computer tricks that are too awesome to be shared! Yeah! We know you are a computer geek and you would know most of the computer shortcuts but hold on. You might want to check these too! 9 computer tricks that you definitely are going to share! 1. Don’t use Ctrl+Alt+Del! Use control+shift+escape instead! It

Sum of the Matrix- using Pointers

                                                Matrix Sum- Using Pointers #include<stdio.h>#include<stdlib.h> int ** createMatrix(int,int);void readMatrix(int **, int, int);int findSum(int **, int, int);int main() {    int m,n;    //printf("Enter Rows");    scanf("%d",&m);    //printf("Enter Columns");    scanf("%d",&n);   

A Way to find Out Who Visited Your Facebook Profile !

Most of the Facebook Users Facing Anonymous visits to their Profile.Be it a girl or a boy, they tend to have an etching desire to find out who visited their Facebook profile as they are filled with these common questions- “Whether my crush checks my profile?” , “Who views my pics?”, “Which girl/Boy always views

Count of common factors

                  Count of common factors                                      Given a set of numbers, the program must find the count of the common factors C excluding 1. Input Format:First line will contain the


ISOMORPHIC STRINGS Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrences of a character must be replaced with another character while preserving the order of characters. No two characters may map to the same character but a character may map to itself.

Two Policemen Catching a Thief

                   Two Policemen Catching a Thief                                                 Policeman1 and Policeman2 along with a thief are standing on X-axis. The integral value of their location

Turning Book Pages

                            Turning Book Pages A book can be turned either from front or from the back. When we open a book always we have the page 1 always on the right. The book pages must always be turned one by one instead

Farmer – Breaking Yield Records

                Farmer - Breaking Yield Records                                     A farmer wishes to track during each harvest if he has broken previous best or worst records. The yield (in certain units) is passed