Coders Packet

Packets submitted by Lokeswara Reddy Ajjuguttu

Finding Power of a Number in O(log(n)) using Java

In this Java post, we will be discussing how to find power of a given number. This approach will be more efficient. In this approach will be using a O(log(n)) time complexity algorithm.

Deleting Every Kth Node in a Circular Linked List in Java

In this Java post, we will be learning how to delete every kth node in a Circular Linked List and find the last remaining node value.

Shifting All Zero's to the End of the Array Using Java

In this Java post, we will be learning how to move all non-zero elements to the starting of the Array and shift all zero's to the end of the Array by traversing the array only once.

Deterministic Finite State Automata in Java

In this post, we will be discussing how to implement a Deterministic Finite State Automata (DFA) Machine in Java which accepts a valid input string with an example.