Category Archives: Java Programming

Java Program to Count frequency of each characters using Buffered Reader

Java Program to Count frequency of each characters using Buffered Reader Write a Java Program to Count frequency or occurrence of each characters using Buffered Reader.Finding characters frequency of a String means calculating the occurrence of  each alphabet present in the string. Since there’s no pre-build function present in Java for calculating the occurrence of the characters… Read More »

Write a Java Program to Count frequency or occurrence of all characters in string

Java Program to Count occurrence or frequency of all characters in string Write a Java Program to Count frequency or occurrence of all the characters present in the string.Finding characters frequency of a String means calculating the occurrence of  each alphabet present in the string. Since there’s no pre-build function present in Java for calculating… Read More »

Java Program to find Lexicographically smallest and largest substring of length k

Java Program to find Lexicographically smallest and largest substring of length k Write a Java Program to find Lexicographically smallest and largest substring of length k. This problem is derived from the String section of Hackerrank in java. I like this problem, so i decided to put my solution on my site.Below is the question and solution… Read More »

Write a Java program to multiply N numbers without using * operator

Java program to multiply N numbers without using * operator Write a Java program to multiply N numbers without using * multiplication operator.As we all know that there are lot of methods or techniques to solve problem to produce desired output. Basic idea of this java program to show varies methods of problem solving techniques, although we… Read More »