Skip to content

Instantly share code, notes, and snippets.

@bburtin
bburtin / APCS.java
Created October 15, 2025 21:40
LAHS APCS period 6
public class APCS {
private static boolean has14(int[] numbers) {
boolean has1 = false;
boolean has4 = false;
for (int n : numbers) {
if (n == 1) {
has1 = true;
}
@bburtin
bburtin / APCS.java
Created October 15, 2025 20:29
LAHS APCS period 4
public class APCS {
private static boolean has14(int[] numbers) {
boolean has1 = false;
boolean has4 = false;
for (int n : numbers) {
if (n == 1) {
has1 = true;
}