Euclidean algorithm to find gcd
The euclidean algorithm is used to find GCD of numbers, which is being used in mathematics extensively but how can we find gcd in a programming language? we will learn in this article
The euclidean algorithm is used to find GCD of numbers, which is being used in mathematics extensively but how can we find gcd in a programming language? we will learn in this article
This post listed down all data structures and algorithms tutorials examples. data structure and algorithm in short you can say ds algo is an important part for any efficient programmer.
Learn sorting of stack in Java. Java example to sort elements in stack. I have used built-in Stack from java.util.Stack. Sorting of Integer value of java.util.Stack.
Balance parentheses using stack in java. How to Check Balancing of Symbol (parentheses) in a mathematical expression using Stack in Java example.
Learn, how to implement fixed size Stack in Java. Implementation of ADT type of data structure Stack. Fixed size array based implementation.
Learn how to count occurrences of int in array in java with example. inteview question to find character from String in Java.
Learn how to Reverse Array In Java using in-place swipe by character for loop, usng in-place swipe by for loop. Java example code for reversing of String or string array or int array.
How to Check two String are Anagram or not in Java. Check if two string are anagram in Java. using for loop, using while loop, using stringBuilder, using array etc.
Learn How to Reverse String in Java, using the library, iteration, and recursive iteration, using StringBuffer, StringBuilder class, using for loop, using recursive appproach, using in place.