#howd u do on OA

1 messages ยท Page 1 of 1 (latest)

pallid sparrow
#

๐Ÿ˜ฆ

placid pier
#

not perfect ๐Ÿ’€

turbid sundial
turbid sundial
placid pier
#

i thought the question was really easy but my solution didnt pass like 5 test cases KEKW

pallid sparrow
turbid sundial
placid pier
turbid sundial
#

Like web pages

pallid sparrow
#

oh that one

turbid sundial
#

Display the items on some page

pallid sparrow
#

theres a lot of parameters u had to play wtih

turbid sundial
#

Did u pass it?

pallid sparrow
#

yeah

#

ddint hearbcak

turbid sundial
#

Like I passed 11 /15

#

But idk what the edge cases were

placid pier
#

i just used python sort() pepela

turbid sundial
#

Like what was doffenrt about last 4

#

@pallid sparrow

pallid sparrow
#

idk

pallid sparrow
#

depending on the parameter

turbid sundial
#

Wym

#

Isn't parameter just increasing or decreasing

pallid sparrow
#

cause sometimes u had to sort by the different products

turbid sundial
#

Yea I just used a lamda function

pallid sparrow
#

there were 3 things right like [i,j,k]

turbid sundial
#

Yea

pallid sparrow
#

yeah maybe ur lambda is wrong

#

cause u cant sort char the same as numbers

turbid sundial
#

Bro how can my lamda be wrong and pass 11

pallid sparrow
#

idk

turbid sundial
#

Oh fuck

#

Your right

pallid sparrow
#

somethign is wrong

turbid sundial
#

Does sort not work on words?

#

I'm fuckijng stupid then

#

I thought it did

pallid sparrow
#

it does but i had to change it a bit

#

i forgot what i did

turbid sundial
#

Oh did u lowercase everuthkng

#

First

pallid sparrow
#

no

#

i just remember having 4 sorts

placid pier
pallid sparrow
#

it was repetivite code and i didnt know how to fix it

turbid sundial
#

Oh ok

placid pier
#

i had a single sort with lambda KEKW

#

and reverse

turbid sundial
pallid sparrow
#

yeah i did that first but i ddint work

turbid sundial
#

I will give you cookie

pallid sparrow
#

so i had to do cases

#

sorry no remember

turbid sundial
pallid sparrow
#

i did 3 oas taht day

empty thicket
#

my problem was not converting from string to int

#

๐Ÿ’€

#

lambda works fine i used it

surreal meadow
#

I passed all test cases and yet haven't heard back

pallid sparrow
quartz kayak
turbid sundial
empty thicket
#

but they gave strings

wide plank
#

lmao same

empty thicket
#

when i changed that it got fixed

#

and passed all cases

#

before that it was like 10 or 11

turbid sundial
pallid sparrow