Logo

CSC300 Zoom Class - Shared screen with speaker view
Ethan Santos
08:03
could we go over the first question on the quiz
deba obaseki
13:05
4
deba obaseki
13:24
Lol he
deba obaseki
16:20
Wouldn’t the second example return 1
deba obaseki
16:56
Oh wait nvm
James Cosgrove
17:09
Wouldn't it be 4 since k = length -1
Christian Garstka
17:18
^
James Cosgrove
17:39
cause we're returning the position as k
Zaeem Khan
17:58
It gave 3 when I ran it on eclipse
deba obaseki
17:59
I was thinking about the value not the index
Christian Garstka
18:10
k starts at 4 I think
Norbs
18:18
wouldn't k start at 4 since arr.length-1 = 4?
James Cosgrove
19:00
I think so.
Zaeem Khan
19:00
I believe so
James Cosgrove
19:54
Did you just set n=x=5 randomly? I'm trying to understand where the 5 came from.
James Cosgrove
20:20
Ok just making sure.
Norbs
25:59
counter of how many targets were in a row
James Cosgrove
26:18
How many recurring values
Zaeem Khan
27:54
0
Calvin M
27:55
0
Norbs
30:48
wouldn't both work?
Zaeem Khan
38:27
the largest number
Norbs
47:16
im confused, how is f(0) = 4?
Zaeem Khan
47:32
every negative number equals 2
Ethan Santos
48:44
great song
James Cosgrove
48:59
lol
Ethan Santos
49:23
they played a little bit of that album at lollapalooza.
James Cosgrove
49:25
Yes, please.
Ethan Santos
49:27
please send
Mykhaylo Lishchynskyy
51:12
forward
Haru Zemsky
51:14
forward
James Cosgrove
51:14
forward
James Cosgrove
52:13
Would it not check the last item in the list as it equals the a.length?
James Cosgrove
52:39
Oh, nvm. If it was length-1
Norbs
57:20
wouldn't it also not work since both methods have the same name?
Zaeem Khan
58:35
incrementing after the return
Norbs
59:30
it won't know what variable a is
Zaeem Khan
59:31
nothing?
James Cosgrove
01:03:16
result is unnecessary...
James Cosgrove
01:03:25
The first base case should return 0
Christian Garstka
01:03:44
why did it work haha
Christian Garstka
01:04:02
ahh
Zaeem Khan
01:04:50
I think I remember this from Friday
Kyle Falcon
01:11:47
I think during friday
Zaeem Khan
01:12:02
Yea we did this on Friday
Kyle Falcon
01:12:04
well there were only lik 14 people on friday
Mykhaylo Lishchynskyy
01:12:18
I needed the practice anyway!
James Cosgrove
01:12:24
^
Zaeem Khan
01:12:29
we do still have 20 minutes?
Norbs
01:12:31
i don't think it was a waste
James Cosgrove
01:19:05
odd length linked lists
Kyle Falcon
01:19:36
its like eyeball vomit
Norbs
01:19:57
would it crash at line 12 since it doesn't know what first is?
Mykhaylo Lishchynskyy
01:20:17
that’s what’s I thought but I think it’s fine
Zaeem Khan
01:20:50
It might just work
Sahib Sawhney
01:21:01
so weird
James Cosgrove
01:21:53
This was happening with Playground on eclipse for me as well
James Cosgrove
01:22:00
It takes a while.
Sahib Sawhney
01:30:03
Thanks professor, have to eat before next class haha see you wednesday
Christian Garstka
01:30:26
goodbye!
Marc Rosales
01:30:26
cya thank you
Henry Howard
01:30:28
thanks
Zaeem Khan
01:30:28
Thanks professor
Neel Patel
01:30:28
thank you
Faizan Khan
01:30:28
take care
Jonathan Aube
01:30:29
Thank you