Skip to content

Instantly share code, notes, and snippets.

View javabuddy's full-sized avatar

Javin Paul javabuddy

View GitHub Profile
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
/**
* Program to demonstrate coding for interfaces in Java
* @author WINDOWS 8
*
*/
public class Hello {
public static void main(String args[]) {
@javabuddy
javabuddy / gist:ab8371c3e0d4c14303d511dc61fe21fe
Last active October 2, 2020 08:28
freejavascript.html
Hello All, If you want to learn JavaScript by yourself and looking for some free resources like [books](http://www.java67.com/2015/10/top-5-free-javascript-books-download-pdf-read-online.html), [sites](http://www.java67.com/2015/12/best-websites-to-learn-javascript-online.html), and [tutorials](http://www.java67.com/2017/07/6-ways-to-redirect-web-page-using-JavaScript-and-jQuery.html) then you have come to the right place.
In this article, I am going to share some of the best free JavaScript online courses you can join to learn [JavaScript](http://www.java67.com/2018/04/top-5-free-javascript-courses-to-learn.html) by yourself, on your own schedule and at your own place.
A lot of people are learning JavaScript and the number is only increasing by each passing day, and why not? It's the #1 web development language. It also has tons of useful frameworks and libraries like [Angular](http://www.java67.com/2018/01/top-5-free-angular-js-online-courses-for-web-developers.html), [React](http://www.java67.com/2018/02
import org.junit.Assert;
/**
* My solution of classical two sum problem in Java.
Problem - Given an array of
* integers, find two numbers such that they add up to
a specific target number.
*
* The method twoSum should return indices of the two numbers such that they add
* up to the target, where index1 must be less than index2.