top of page
Search
Abhinaw Tripathi
Apr 13, 20171 min read
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...
20 views0 comments
Abhinaw Tripathi
Sep 20, 20165 min read
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...
111 views0 comments
Abhinaw Tripathi
Sep 14, 20161 min read
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...
25 views0 comments
Abhinaw Tripathi
Sep 14, 20161 min read
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)...
5 views0 comments
Abhinaw Tripathi
Aug 26, 20162 min read
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...
26 views4 comments
Abhinaw Tripathi
Aug 17, 20162 min read
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....
494 views0 comments
Abhinaw Tripathi
Aug 16, 20164 min read
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...
1 view0 comments


Abhinaw Tripathi
Jun 28, 20163 min read
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...
2 views0 comments
bottom of page