#Trying to understand why the function doesnt return anything when called

1 messages · Page 1 of 1 (latest)

hard pastureBOT
#

This post has been reserved for your question.

Hey @burnt arch! 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.

burnt arch
#

It simply terminates without printing anything

#

the method returns a string type

hard venture
#

are you sure it isn't just returning an empty string

#

are you getting an empty line

burnt arch
#

nvm your right its empty

hard venture
#

also, why are you using the raw type LinkedList

burnt arch
#

i made my own

hard venture
#

oh, aight then

burnt arch
#

!close