Questions tagged [week3]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
395 views

Error testing in plurality question

I already test my code with all possible input and it working fine but when I run with check50 cs50/problems/2020/x/plurality, I got a couple of error result :( print_winner identifies Bob as ...
0
votes
1answer
8 views

call stacks short vedio

in the call stacks short there is a code when doug explains that the function returns (1) i want to know how the c knows or the computer knows the difference between returning (1) mean the program ...
0
votes
2answers
13 views

Hexadecimal video unaccessible

The Hexadecimal video in Week 3 is not accessible.
0
votes
1answer
59 views

Find.c - Binary Search probable integer overflow

Here's the gist: https://gist.github.com/Securiteru/a83e4f1a028acd0b1013def793b5dcdc And the output: ... 60697 61151 61190 61275 61460 61608 61618 61746 61750 61822 62111 62178 62183 62311 62448 ...
0
votes
1answer
38 views

Concept of run time in lecture week 3

In week 3's lecture, David talked about the concept of runtime where the worst possible scenario for say insertion sort is O(n squared) and the best case scenario would be omega(n). I dont understand ...
0
votes
1answer
49 views

Week 3 Binary Search Video Short question

I just watched the short for binary search and I'm having trouble understanding how making a conditional of (max < min) would mean that the number is not in your array (timestamp 04:05). I get ...
0
votes
1answer
87 views

Pointers basic Concept with functions

http://cslibrary.stanford.edu/102/PointersAndMemory.pdf Reading this told us that when function gets called its locals gets called and when it exits its locals gets destroyed so that we can't use its ...
0
votes
1answer
30 views

week3 lecture very beginning

Week3 Lecture: A student asked a question of my mind how do computer know about the argc ? I really don't understand how is this argc working In case we printed "zymla" we gave argv[1] as our first ...
0
votes
1answer
106 views

vigenere ,, segmentation fault core dumped [duplicate]

the code compiles well ,, but an error ocures
0
votes
1answer
213 views

Initials ,, The Right output but not accepted

I have all outputs Right Desperate Help Yelling