## count number of 1s in binary

Write an efficient function in c to print the count of 1s in binary representation of a given number. For example if given number is 7 then its binary...

## Reverse a Linked List using Recursion in C

Interview Question on link list Write a recessive function to reverse a singly linked list in c? some time interviewer at beginning level can ask this type of question to test...

## check if a string has unique characters

Write a c/c++ program to check string has unique characters. we mean that string has no repeated character. For example UNIVERSE -> not all its characters are unique since...

## find missing number in array

find missing number in array. Given an array of randomly field numbers ,but there is one random empty slot in the array find the missing numbers? The numbers are...

## find the next smallest palindrome of a given number

write an optimize code for finding next smallest palindrome of a given number? For example if given number is 14310 then the smallest next palindrome 14341. Naive algorithm Increment...

## Array Pair Sum Programming interview Question

Given an array of positive integers find all pairs of integers whose sum equal to k, here k is integer number? For example if input array is { 2,...

## Find maximum number that can be formed from digits

Write a code in c++ that transformed a numbers into maximum numbers? for example if you are given a number 1214678 the the output of your program should be...

## Write a c program to reverse singly link list

Write a c program to reverse singly link list? this is one of the famous interview question. There are various linked list data structure in computer science which are...

## what is difference between task and process

Task can adress memory directly while process cannot.the environment of task and process is same...