Posts by Kunal Kamble

Author Biographical Info: Not available

Java Program to Reverse Bits of a Number

By Kunal Kamble

Hello friends welcome to CodeSpeedy. In this tutorial, we will learn to reverse the bits of a number in Java. Given a number say N we have to reverse the bits of the number and pri.... Read More

Check whether kth bit is set or not in C++

By Kunal Kamble

Hello, friends in this tutorial we will write a program to check the kth bit of a number is set or in C++. We have a number say N we will check if the kth bit of the number is set .... Read More

Print Right View of a Binary Tree in Java

By Kunal Kamble

In this tutorial, we will learn to write a program to print the right view of a binary tree in Java. The right view of the binary tree is all the nodes that are visible from the ri.... Read More

Remove minimum number of elements such that no common element exist in both array in Python

By Kunal Kamble

In this tutorial, we will write a Python program to remove minimum elements from the array so that no common elements exist in both arrays. Following is the approach we are going t.... Read More

Sort an array in wave form in Java

By Kunal Kamble

In this tutorial we will study sorting the array in the form of a wave termed wave sort and write code for it in Java. The term wave itself is self-explanatory that the element of .... Read More

Java program to swap two nibbles in a byte

By Kunal Kamble

In this tutorial, we will learn to swap two nibbles in a byte and also write its code in Java. A byte is a combination of 8 bits and one nibble consists of 4-bits. Hence every byte.... Read More

Find the first repeating element in an array of integers in Python

By Kunal Kamble

In this tutorial, we will learn how to find the first repeating element in an array in Python. Considering an array of N elements, we need to find the first element which has more .... Read More

C++ program to check if two arrays are equal or not

By Kunal Kamble

Hello, friends in this tutorial we will write a program to check if two arrays are equal or not in C++. An array is a collection of homogeneous i.e similar type of data stored in c.... Read More

Related Posts