Skip to content

Instantly share code, notes, and snippets.

@YashTotale
YashTotale / DiverseArray.java
Last active March 23, 2021 01:14
2015 AP Computer Science Exam FRQ #1
// FRQ #1: AP Computer Science Exam 2015
public class DiverseArray {
/**
* Part (a)
* Returns the sum of the entries in the one-dimensional array arr.
*/
public static int arraySum(int[] arr) {
int sum = 0;
for (int toSum : arr) {
@YashTotale
YashTotale / TwoDimensionalArrays.java
Last active March 23, 2021 00:36
TwoDimensionalArrays: AP Computer Science Assignment
import java.util.Arrays;
public class TwoDimensionalArrays {
public static void main(String[] args) throws Exception {
TwoDimensionalArrays arrMethods = new TwoDimensionalArrays();
System.out.println("-----");
System.out.println("2D Array Methods\n");
// countVals
@YashTotale
YashTotale / MarioChar.java
Last active March 23, 2021 00:36
MarioChar: AP Computer Science Assignment
import javax.swing.*;
import java.awt.*;
import java.util.*;
public class MarioChar {
String name;
//TODO: Add Superpower class
ArrayList<String> superpowers;
int x;
int y;
@rxaviers
rxaviers / gist:7360908
Last active April 24, 2024 03:33
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: