Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Dave Martinez dave-martinez

🏠
Working from home
Block or report user

Report or block dave-martinez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View asdf.java
import java.util.*;
public class infixtoprefix
{
public static void main(String[]args){
Stack<Character> op = new Stack<Character>();
Scanner sc = new Scanner(System.in);
System.out.print("Enter infix Expression: ");
String infix = sc.nextLine();
String PREFIX = "";
for(int x= infix.length()-1;x>= 0; x--){
@dave-martinez
dave-martinez / person.java
Created Dec 17, 2015 — forked from anonymous/person.java
Assignment for Sorting
View person.java
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Runner {
public static ArrayList<Person> pList = new ArrayList<Person>();
public static Scanner scan = new Scanner(System.in);
public static void lineBreak(){
View magicsquare.py
### Magic Square
# Define 3x3 square -- Initalized to 0
square = [[0 for x in range(3)] for x in range(3)]
def get_input():
for row in range(3):
You can’t perform that action at this time.