#Just need some help double checking answers

42 messages · Page 1 of 1 (latest)

acoustic igloo
#

Going over an assignment, just needed some help checking answers (don't give correct ones just tell me if im right or wrong please!)

jovial shadowBOT
#

This post has been reserved for your question.

Hey @acoustic igloo! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

signal plaza
#

why not just submit it

#

there's an automatic checker for you

acoustic igloo
#

yes but it takes some time to release

signal plaza
#

if you're unsure about an answer, then.. research it?

acoustic igloo
#

i have researched it... just looking for someone to cross check me?

#

is it that big of a deal i want some help with something im working on lol

signal plaza
#

idk why im making a big deal out of this tbh

#

there's been stuff like this before and i've helped just fine lmao

acoustic igloo
#

lol i get it

#

i used to help .gg/homework and oh boy

#

quite the pain

signal plaza
#

the ones asking for result you could just run the code and see if it matches up tbh. i don't think anyone's going to enjoy simulating multiple recursive calls in their head

#

the recursive call line questions are easy, not sure why you're asking about those

#

the base case one is correct

acoustic igloo
#

i didnt study much for this topic because i thought it was easy and now im just like

#

second guessing myself

torn jay
#

as far as I can tell three are correct, one is wrong and the other one I'm not certain.

signal plaza
quiet bay
signal plaza
#

There is no base case.
that tells you what the question is

quiet bay
#

not really, no

signal plaza
#

you know these kinds of questions have a format, right

quiet bay
#

i guess yeah "what's the base case of that", but even then, what the fuck is a base case

signal plaza
#

"base case" is a common established term in the context of recursion

quiet bay
#

the definition being

signal plaza
#

the case in which the method/structure no longer recurses

acoustic igloo
quiet bay
acoustic igloo
#

the one you said i was wrong

signal plaza
#

is it recursing before or after other operations

acoustic igloo
#

before because the if line is the recursion line