Skip to content

Instantly share code, notes, and snippets.

Rafael Adam Soto rooksoto

Block or report user

Report or block rooksoto

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
@rooksoto
rooksoto / ArrayLeftRotationSolution.java
Created Jan 8, 2017
HackerRank Cracking The Coding Interview #1
View ArrayLeftRotationSolution.java
/**
* Created by rook on 1/7/17.
*/
import java.util.*;
public class ArrayLeftRotationSolution {
/*
Renamed some variables to make it easier
View LameParkingGarage.java
package nyc.c4q.abassawo;
import java.util.HashMap;
import java.util.Map;
public class LameParkingGarage {
private Map<Integer, AbstractCar> map;
public LameParkingGarage(int numberOfFloors) {
View student.json
{
"Class": "Student",
"First_Name": "Rafael",
"Last_Name": "Soto",
"ID_Number": 123456789,
"Favorite_Foods": [
{
"First_Fav_Food": "Pizza"
},
{
@rooksoto
rooksoto / Main.java
Created Aug 30, 2016
In class exercises for 08.29 - Rafael Soto, 3327
View Main.java
package nyc.c4q.rafaelsoto;
public class Main {
public static void main(String[] args) {
//Q1. Triangle
drawTriangle(4);
System.out.print("");
View Morning Challenge 08.28.16 - Rafael Soto
package nyc.c4q.rafaelsoto;
public class Student {
String firstName;
String lastName;
int idNumber;
String favFood1;
String favFood2;
String favFood3;
View HW Week 1 - (Rafael Soto).java
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//Q1. add-function Call
add(1, 2);
//Q2. age-calculator Call
calculateAge(1987, 2016);
View HW Week 1 - (Rafael Soto).java
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//Q1. add-function Call
add(1, 2);
//Q2. age-calculator Call
calculateAge(1987, 2016);
View 08.21.16 - Intro to Java - Rafael - 3327.java
class Main {
public static void main(String[] args) {
// ***** Q1 *****
// https://docs.oracle.com/javase/7/docs/
// ***** Q2 *****
//The languages are very loosely related, historically, but much different in purpose and implementation. Java is a compiled language, where Javascript is a scripted language. Java is much more verbose, Javascript is, relatively speaking, pared down. Java is statically typed, where Javascript variables are dynamically typed. Java is much more general purpose, Javascript is mainly utilized for web applications (although Node.js makes it possible to use Javascript for server operations and general purpose scripting).
// ***** Q3 *****
View CpeY-0.java
class Main {
public static void main(String[] args) {
System.out.println("My name is Rafael Soto.");
System.out.println("I drove here from The Bronx.");
System.out.println("Yesterday, I learned how surprisingly weak uncooked spaghetti is.");
System.out.println("Today, I just want to learn more Java!");
}
}
You can’t perform that action at this time.