top of page
Search
Multiples of 3 and 5 without using % operator
Write a short program that prints each number from 1 to n on a new line. For each multiple of 3, print “Multiple of 3” instead of the...

Abhinaw Tripathi
Apr 13, 20171 min read
20 views
0 comments
Send Email in Java Tutorial
I am going to give you a brief about how it send email in java programs. Sending emails is one of the common tasks in real life...

Abhinaw Tripathi
Sep 20, 20165 min read
114 views
0 comments
Maximize number of 0s by flipping a subarray in java
Maximize number of 0s by flipping a sub-array Given a binary array, find the maximum number zeros in an array with one flip of a...

Abhinaw Tripathi
Sep 14, 20161 min read
25 views
0 comments
Non Fibonacci Numbers in Java
Given a positive integer n, the task is to print the nth non Fibonacci number. The Fibonacci numbers are defined as: Fib(0) = 0 Fib(1)...

Abhinaw Tripathi
Sep 14, 20161 min read
5 views
0 comments
The Stock Span Problem Solution in Java
The Stock Span Problem The stock span problem is a financial problem where we have a series of n daily price quotes for a stock and we...

Abhinaw Tripathi
Aug 26, 20162 min read
26 views
4 comments
Bucket Sort Java Implementation
Bucket Sort Bucket sort is mainly useful when input is uniformly distributed over a range. For example, consider the following problem....

Abhinaw Tripathi
Aug 17, 20162 min read
494 views
0 comments
Comb Sort Algo in Java
The basic idea is to eliminate turtles, or small values near the end of the list, since in a bubble sort these slow the sorting down...

Abhinaw Tripathi
Aug 16, 20164 min read
1 view
0 comments


Graph and its representations in Java
A graph is a pictorial representation of a set of objects where some pairs of objects are connected by links. The interconnected objects...

Abhinaw Tripathi
Jun 28, 20163 min read
2 views
0 comments
bottom of page