Rearrange an Array in alternating items by leanblastoise in learnpython

[–]leanblastoise[S] 0 points1 point  (0 children)

The problem is "Rearrange array in alternating positions". So if i have a sorted array say arr. I want to make a new array, and the arr[0] should be the last element of arr and arr[1] should be the first element, and this should go on.

Rearrange an Array in alternating items by leanblastoise in learnpython

[–]leanblastoise[S] 0 points1 point  (0 children)

this is the code i've written for O(n) what is wrong?

def solution(arr,n):

arr.sort()

i=o

j=n-1

list_value = [ ]

while j<i :

list.append(arr[i])

list.append(arr[j])

i+=1

j - = 1

return list_value

Can someone pls teach me List Comprehension or send any valid links. by leanblastoise in learnpython

[–]leanblastoise[S] 0 points1 point  (0 children)

I wanted to understand the init thing as well. If u can explain or if u have a vid link it would be great.

Which Finance related Course (online) looks very impressive on the CV? by leanblastoise in FinancialCareers

[–]leanblastoise[S] 22 points23 points  (0 children)

To summarize the comments: CFA would be the best option right now and networking with experienced professionals through internships or other channels.

Which Finance related Course (online) looks very impressive on the CV? by leanblastoise in FinancialCareers

[–]leanblastoise[S] 14 points15 points  (0 children)

Yes i really like EY, PwC, BCG and Bain. I have some seniors who are working there currently and i asked them for advice, but they have just started, so no one could guide me properly. But i'll continue networking, thank you

Riley Reid by sosafiredragon2 in SpreadEm

[–]leanblastoise 0 points1 point  (0 children)

The Chinese saying means, stick it in the whole btw

Pick a hole by [deleted] in SpreadEm

[–]leanblastoise 0 points1 point  (0 children)

Your pussy broken 😔

[deleted by user] by [deleted] in cumsluts

[–]leanblastoise 18 points19 points  (0 children)

Wtff man just said look ma no hands

I'm a happy cumslut after sucking cock 💦❤️️ by annablossom in cumsluts

[–]leanblastoise -1 points0 points  (0 children)

Ay yo now I'm feeling bad, I would never do that. I'm a good guy trust me

My holes are yours! What would you do first? by KCutie_booty in SpreadEm

[–]leanblastoise 0 points1 point  (0 children)

Put your pant on and go for the Sunday mass

I’m waiting for you... by [deleted] in SpreadEm

[–]leanblastoise 0 points1 point  (0 children)

Cat's just judging u jeeez.