Skip to content

Instantly share code, notes, and snippets.

View mggowtham25's full-sized avatar
💻

Gowtham mggowtham25

💻
View GitHub Profile
/**
* Created by Gowtham on 11/2/2016.
*/
public class HighestProductofThreeInt {
public static void main (String args[]){
int [] a = new int[]{-10,-10,2};
/*for (int i = 0; i<a.length; i++){
System.out.println(a[i]);
}*/
System.out.println(highestProductOf3(a));
@mggowtham25
mggowtham25 / SlidingWindowMaximum.java
Created November 17, 2016 21:06
Sliding Window - Maximum of that range (Int)
/**
* Created by Gowtham on 10/20/2016.
*/
import java.util.ArrayList;
import java.util.List;
public class SlidingWindowMaximum {
private List<Integer> values = new ArrayList<Integer>();
@mggowtham25
mggowtham25 / BalancedParenthensies.java
Created November 17, 2016 21:04
Java Program to check the Parenthensies,
import java.util.Stack;
public class BalancedParenthensies {
public static void main (String [] args)
{
String test_good = "(h[e{lo}!]~)()()()(";
String test_bad = "[](){}<>";
System.out.println(checkBalanced(test_good));
@mggowtham25
mggowtham25 / PriorityQueueTest.java
Last active November 17, 2016 21:00
Java Program to implement Priority Queue. This is a Java Program to implement Priority Queue. A priority queue is an abstract data type which is like a regular queue or stack data structure, but where additionally each element has a “priority” associated with it. In a priority queue, an element with high priority is served before an element with…
/**
* Created by Gowtham on 11/17/2016.
*/
/**
** Java Program to implement Priority Queue
**/
import java.util.Scanner;
/** Class PriorityQueue **/
@mggowtham25
mggowtham25 / comparison.md
Created June 9, 2016 19:29 — forked from makmanalp/comparison.md
Angular vs Backbone vs React vs Ember notes

Note: these are pretty rough notes I made for my team on the fly as I was reading through some pages. Some could be mildly inaccurate but hopefully not terribly so. I might resort to convenient fiction & simplification sometimes.

My top contenders, mostly based on popularity / community etc:

  • Angular
  • Backbone
  • React
  • Ember

Mostly about MVC (or derivatives, MVP / MVVM).