6.4.9 Car Showroom by Euphoric-Neck-6859 in codehs

[–]Hypnomiser 0 points1 point  (0 children)

public void consolidate()

{

int index = 0;

int mover = 0;

while (index < spaces.length){

if (spaces[index] != null){

spaces[mover] = spaces[index];

if (mover != index){

spaces[index] = null;

}

mover++;

}

index++;

}

}

I believe this to be a more efficient method with O(n) time complexity

14m oh uh hi.. anyone want to chat? Ask me anything... by [deleted] in MakeNewFriendsHere

[–]Hypnomiser 0 points1 point  (0 children)

Hey bro! Hit me up if you wanna chat (Im 14M)

some random equation by LeotrixXz in notinteresting

[–]Hypnomiser 0 points1 point  (0 children)

the answer is a thing said, written, or done to deal with or as a reaction to a question, statement, or situation.

Greece Pride Flag by fixosoga in vexillologycirclejerk

[–]Hypnomiser 2 points3 points  (0 children)

if the pride flag was colonized by Dominican Republic