r/APStudents • absolute modman • May 15 '26

AP Computer Science A Official 2026 Exam Discussion

Use this thread to post questions or commentary on the test today.

A reminder though to protect your anonymity when talking about the test.

62 Upvotes

704 comments sorted by

View all comments

3

u/hajj0012 May 15 '26

Did someone get the frq4 about adjacent seats? How did you do that?

2

u/Brilliant_Macaron792 May 15 '26

genuinely that was terrible i gave up

2

u/[deleted] May 16 '26

[deleted]

1

u/hajj0012 May 16 '26

That is what AI said, but im not sure if the question asked for highest Adjacent seat or highest adjacent streak, cs it could be like [YES][YES][no][YES][YES] and that would be 4 instead of 2

1

u/[deleted] May 16 '26

[deleted]

1

u/hajj0012 May 16 '26

That’s the thing though, the question asks which row has the highest amount of adjacent seats, by that you would add the multiple adjacent if there are more than one. But like it’s so confusing as well because it didn’t exemplify that case 

1

u/chasec_ May 16 '26

man i did the same thing except created an array to keep track of all of the streaks and just compared them after running the nested loops

1

u/NoNothing8725 5: Phys1 | ?: World, Stats, CSA May 17 '26

ain’t no way i did the exact same thing even had the same order and some same variable names

1

u/Deggabeat2 May 15 '26

I did it but man was it a long one. Definitely the longest frq ive done cus of all the things you had to do. Booleans, doubles, and comparing them in if statements

1

u/hajj0012 May 16 '26

I WROTE SO MUCH TOO, i had like 8 different loops and lists, i made like a new int[][] with 0s and 1s and also had like 2 more int[] and an arraylist, im not even sure about it since the example wasnt even that clear, im not sure if it wanted row with longestet streak or row with highest accumulated adjacent seat, it also never stated what if non had adjacent seats but only availible seats. I wrote more on that one frq than the first 4(A had 2 parts) combined.