In this blog, we are going to discuss the length of loop in linked list. A linked list is one of the important data structures in the technical interview because...
Sorting is one of the famous techniques used to rearrange the array or the list of elements. In this article, we will learn how to sort a doubly linked list...
Check if a given number is palindrome or not. Ans. A palindrome is a number which is when reversed give the same number. We find the reverse and check whether...
What do you mean by dangling pointer? Ans. If a pointer is pointing to some address of a variable and at that moment another pointer is used to delete that...
Why do we still use C? Isn’t it quite old? Ans. C is considered to be the mother of all modern-day languages. It was initially created for the purpose of...
Linked List is a linear data structure which comprises of elements/nodes stored at various locations not necessarily contiguous. But don’t we have arrays for keeping a list? Well, there are...
In this tutorial, we will be discussing Wipro interview questions for freshers and experienced. If you have the talent, passion, and ability to work, able to work on cutting-edge technologies...
1. Write a program to swap two numbers in Java. Ans. Two ways to do this -with third variable and without third variable. public static void swapNumberswithtemp(int a, int b)...
C is a general-purpose procedural programming language developed by Dennis M. Ritchie. It was used to develop the UNIX operating system so you can understand how powerful it really is....
What is immutable object? Ans. Immutable objects can be created of immutable classes. Objects of these class cannot be modified. So whenever we try to change or modify these objects...
1. Write a program in Java to reverse a number. Ans. Extract each digit and keep multiplying with 10 and adding the remainder. static int REV(int n){ long RevNumber=0; while...
1. What is the difference between procedural language and object-oriented language? Ans. Procedural Programming languages follow a sequence of instructions and conveys it to the computer. Procedural programming depends on...
How to crack coding interview Whether you are a recent graduate or a job seeker, if you are searching for a job this article will help you to prepare yourself...
Java is a very popular object-oriented programming language created in 1972 but it has still remained one of the most essential languages throughout decades. Java was one of the first...
Concepts Used Binary Search Difficulty Level Easy Problem Statement : Finding a number has always been an interesting puzzle! Well in this problem we are given a sorted array of...