Frequency of letter in word in JAVA Shivam tripathi December 11, 2018 PROGRAM import java.util.Scanner; public class DuplicateLetters{ public static void main(String args[]) { Scanner scan = new ... Read More
Nth prime number in java Shivam tripathi December 11, 2018 Program public class Prime { final static int MAX = 10000 ; static boolean prime[] = new boolean [10001] ; static void primeNum... Read More
LCM and HCF of two number in java Shivam tripathi November 30, 2018 import java.util.*; class GFG { public static void main (String[] args) { Scanner scan = new Scanner(System.in); int a = ... Read More
Palindrome (Number and word) in java Shivam tripathi November 30, 2018 Word - import java.util.Scanner; class GFG { public static void main (String[] args) { //System.out.println("GfG!"); ... Read More
Upload base64 image to Google CDN in Java Shivam tripathi November 30, 2018 /*Upload base64 image in CDN Save cdn url to database*/ /* path contain base64 encoded image (i.e. Strint path = "data:image/png... Read More
Binary to Decimal in java Shivam tripathi November 30, 2018 /* input = 10111 output = 23 */ import java.util.Scanner; class GFG { public static void main (String[] args) { /... Read More
Decimal to Binary in java Shivam tripathi November 30, 2018 /* input = 11 output = 1011 */ import java.io.*; import java.util.Scanner; class GFG { public static void main (String[] args)... Read More
Pipelined Table functions Sarfraz Alam November 13, 2018 A pipelined table function will come up with a single row for the result set and pipe it out of the function when it’s available. Since t... Read More
List of all Primes up to a given number Sarfraz Alam November 06, 2018 #include <stdio.h> int *getPrimes(int n) { static int r[10]; int i,j; int count = 0, s=0; for(i = 2 ; i ... Read More
GROUP_CONCAT in MYSQL Shivam tripathi October 18, 2018 Syntax - SELECT GROUP_CONCAT ( DISTINCT ( categories ) SEPARATOR ' ' ) FROM table DISTINCT for unique categories S... Read More