Move Spaces at Last

Move Spaces at Last   Input String : This is Hello World Program, We need to move all the spaces between words at the last of the String   Output String :…

Bitwise Applications

Bitwise Applications   Bitwise operators can be very useful while implementing various algorithms and optimizing algorithms.   Here are the few scenarios I capture which helps in Optimization. To check if Number is power…

Kth Bit

Kth Bit   Let’s see how we can resolve the below problems To check if Kth bit is set or not means Kth bit is 1 or not To set the Kth…

Bitwise Operators

Bitwise Operators   I’ll be discussing bitwise operators and different techniques to solve various problems.   Symbols Operations & Bitwise AND | Bitwise OR ^ Bitwise Exclusive OR << Bitwise Left Shift…

Reverse LinkedList

Reverse LinkedList   Here is the code to Reverse the LinkedList   package com.diaryreaders.datastructures.LinkedList; /** * @author Gaurav Gupta * */ public class ReverseLinkedList { private static void print(Node head) { while…

CountDownLatch

CountDownLatch   A Latch works as a barrier for one or more threads until some set of operations completes. A CountDownLatch is initialized with a given count. Until this count reaches to zero,…

Delete Node at Specific Position

Delete a Node from the specific position of the LinkedList   Here is the code to delete a node from the LinkedList   package com.diaryreaders.datastructures.LinkedList; /** * @author Gaurav Gupta * */…

Insert Node at specific position

Insert a node at a specific position in a linked list   Here is the code to insert the node at any position of the LinkedList   package com.diaryreaders.datastructures.LinkedList; /** * @author…

Insert Node at Nth position in Circular LinkedList

Insert Node at Nth position in Circular LinkedList   To insert the Node at the nth position in the circular linked list   Iterate the list till n-1th node. set the next…

LOOKBOOKS

SUBSCRIBE

Subscribe now to get notified about exclusive offers from The Voux every week!

Lorem ipsum dolor sit amet, consectetur a dipiscing elit. Vivamus leo ante,

FOLLOW US ON