#sorting arrays
Explore tagged Tumblr posts
Text
Mastering Array Manipulation in JavaScript: A Guide for Amazon Interview
Introduction Arrays are one of the most fundamental data structures in JavaScript, and mastering array manipulation is crucial for any developer. If you are preparing for an Amazon interview, you must have a solid understanding of array operations, as they are commonly asked in technical interviews. In this guide, we will explore the key concepts of array manipulation in JavaScript and provide…
0 notes
Text
average rain deer ride
youtube
and here it is on youtube
#case files#my art#animation#< sort of?? im no animator but those critters do move a bit#rain world#rw rivulet#rain world rivulet#rain world spearmaster#rain deer#farm arrays#Youtube#spearmaster
30 notes
·
View notes
Text
obsessed with the fact that chakotay's maquis ship was called 'val jean'. are all maquis obsessed with les mis. was it an obligatory read. did the guy name it himself. why the spelling error. did he secretly ship javert and valjean. because that would explain a lo- [gunshot]
#star trek voyager#chakotay#maquis#kathryn janeway#i hate almost everything surrounding maquis because i HATE hate the whole topic was handled. but this is so funny.#i like to think that chakotay was so quick to serve on voyager because he saw janeway blowing up the array and was sort of. mesmerised.#now this#huh#read somewhere about the idea that the plot of voyager went the other way around with maquis redicalising voyager throughout its journey#home. thinking about it all the time#j/c
37 notes
·
View notes
Text
Rereading this part of mdzs for no particular reason (😇) and laughing so hard bc
- Ppl really overstate the degree to which post-rez wwx is just a silly goofy innocent twink like. here he is spouting off a yllz style torture fantasy in his head unprompted. BRO'S STILL GOT IT
- he hated xue yang SO much from the moment he heard about him lmfao!! the diff between his attitude on XY vs his attitude on any other antagonist he meets post-rez is always interesting to me. i mean the first thing wwx heard of him is "oh yeah people somewhat blame you for his evil acts bc he was using the techniques you developed also oh yeah he rebuilt your doomsday weapon that you thought you destroyed and no one had to worry about anymore". tbh i do think wwx felt somewhat responsible
- "this little punk is out here doing disproportionate retribution on people >:( what if I did disproportionate retribution on HIM" ok, not getting into debate on the jianghu's opinion on the morality of torture, or whether it can be considered proportionate to anything. from MY perspective it's rly funny
- "Rip to people who don't run off in singleminded bloody revenge on the ppl who hurt their family out of consideration of their remaining family, but I'm different." + specifically referring to this as "dragging an opponent down with you". Never considered it from this angle before but wwx is pretty clearly reminded of the massacre of the Jiangs while empathizing with Chang Ping here. The subconscious(?) recognition from wwx that his revenge was destructive to himself and his loved ones I also find really interesting
#aphelion.txt#mdzs#xy#wwx#xue yang#meta#sort of ig#demonic duo#yeah wwx we totally all wonder what you would do if a powerful clan tried to oppose your need for revenge. LMAO#hey what did xue yang do when a powerful clan opposed his need for revenge OH WAIIIIII#IT'S ALMOST LIKE WHOSE REVENGE IS 'ALLOWED' IN MDZS IS ENTIRELY CONTEXTUAL AND MAYBE IT'S ALL BAD ACTUALLY!!!!! HUHH WHO'D'A THOUGHT#also forgot somehow that chang ping wasn't literally the only chang left alive but i shuffled that to a follow up post#tune back in for more yi city ramblings in a minute#it's even specified that xy went in and inverted the changs' protection array. IDENTICAL to wwx's first big act of revenge#step 1 self recognition thru the other step 2 try to kill each other indeed
8 notes
·
View notes
Text
day 10: worm grass
its late and simple but im suffering Art Block okay
#rain world#rw art month#rw monk#monk rw#rw hunter#hunter rw#ive never drawn a rain deer OR worm grass so that was fun#also au funfact monk and hunter met in farm arrays while monk was looking for surv and hunter was trying to ascend#they ended up agreeing to work together to get monk and surv to outer expanse safely#and hunter ended up getting attached to them and adopted into their family rather than ascending#and hunter has a karma flower here because monk discovered they work sort of as a medicine for the rot!#its no cure but it keeps hunter alive and thats enough
27 notes
·
View notes
Text
Got jumpscared by my own full legal name showing up in my email notifications bc I forgot I emailed my code to myself today just in case my VM ends up stopping working again (I got nervous & didn't wanna lose my progress lol)
Goldfish level memory retention
& the funny thing is that the email itself is just. This

Full Legal Name code • hi
#speculation nation#title 'code' email is just 'hi'. with the .c file attached of course#honestly i had a very productive day in lab today. i got the core structure of the program down and made sure it all worked#testing it with One of the sorting algorithms. and it worked!!#the lab is to code functions for different kinds of sorts. like bubble sort selection sort and uhh. some other shit idr rn#and have the functions take timestamps from before and after they run the sorts to calculate the elapsed time#and we have to run this for array sizes of like. 10 50 500 etc etc up to like 50000 or smth? if i remember right.#and then once all that's done we take the output and graph the time elapsed for each type of sort/search per array sizes#so today at lab i made the random array generator function. a swap function. the execution function. bubble sort. and main.#main calls the execution function passing in the array sizes. execution(10); execution(50); etc#execution defines the array of that size. then calls the random number generator to populate the array. then passes it to the sort functions#tested with my one bubble sort function. which finished in like 0.00003 seconds or smth for array size 10#BUT taking the time stamps was tricky. there are a lot of ways to do that. and time(); in c is in full seconds#i ended up asking the TA if he had a recommendation for what to use bc theres a LOT of time functions out there#and full seconds isnt precise enough for this purpose. & he recommended clock()!!#records number of clock ticks which is NOT the same as seconds. but when u divide it by uh. forgetting it rn but it's a constant#that will turn it into actual seconds. clock tics per sec?? smth like that.#so anyways very productive 👍 i just need to set main up to call execution function for all the different array sizes#and then write all the functions for the different sorts/searches. but i have the core structure down with the bubble sort function#(specifically with the time stamps and the print function after) that i will copy-paste for all the other functions#and then inside them i put the basic code. none of it's complicated. all can be found on the internet easy.#SO!!!!! honestly i think itd take me less than an hour to finish. tho plotting out that graph is going to be annoying#something like 6 sizes per 5 sort/search functions. painstakingly copy pasting each one into excel or smth lol#but yea im content with how much ive gotten done. yippee!!!!#now i just need to finish my web programming lab before sunday night. blehhhhh
2 notes
·
View notes
Text
if I could figure out how to make a button that would take you to a random post tagged with a certain tag on a specific blog on tumblr I would make a random spc generator SO fast
#text#like have a tag for backstory#(sorted by sect and clan and kindred/ghoul/etc.)#a tag for name#a tag for stat array#chattering
3 notes
·
View notes
Text
#this was an interesting way to search a element in a sorted 2D array#staircase#javaprogramming#coding#saved
6 notes
·
View notes
Text
anyway god willing the gf will be down to play sea of thieves soon so I can go back to sailing the high seas as a trans + intersex pirate who actually looks like me :')
#mad scrawl#still cannot get over the character customization in this game#no pronoun selection no 'body type' bs just#here's an Array Of Guys with all sorts of body types and skin colors and presentations#pick one. you will not be gendered. you are a fucking pirate.
5 notes
·
View notes
Text
fun bh fact again: sparks is ambidextrous
#this is partially because i draw what hand she holds her spear in very inconsistantly but it also just. makes a lot of sense to me?#i think honestly a lot of iterators sort of lean that way tbh#sparks especially because shes very very used to managing dozens of screens in a big array with split attention all the time#so why not get used to using both hands?#and the muscle memory just carries into off string#sky rambles#oc tag: countless swirling sparks
4 notes
·
View notes
Text
Seeing people in the comp sci discords so confidently wrong is a little… scary
Like broooo why are you trying to help other people????? Look at your own code first your ass is NOT gonna live past the easy as hell example test cases
#context:#we were supposed to insert into a min heap#easy stuff yknow#and someone like#added everything into the heap and THEN heapified the values#like NOOOO DON’T DO THAT#they literally tell us to maintain the min heap as you add to it#you only do all that heapifying to set up an array for heap sort#just cs things :)#but the worst thing was that they told other people to do that#so of course#me being me#i traced both the correct and wrong way and showed how they got different results
3 notes
·
View notes
Text
Esta funcion nos permite ordenar todos los elementos en un array. Espero les sea de utilidad!
0 notes
Text
Ace Your Amazon Interview with Data Structures and Algorithms
Overview Preparing for a job interview at Amazon? One crucial aspect to focus on is data structures and algorithms. Amazon places a strong emphasis on candidates’ understanding of these foundational concepts. In this article, we will guide you through mastering data structures and algorithms to ace your Amazon interview. Why are Data Structures and Algorithms Important for Amazon…
#algorithms#Amazon interview#arrays#data structures#Graphs#interview preparation#JavaScript#linked lists#Searching#Sorting#Trees
0 notes
Text
Started working on my C lab. Remembered how good of a position I left myself in after last week, so yay!! It won't take too much effort to finish.
I'm not gonna finish before lab tho, both bc I dont really have time (whoops I dragged my feet with starting it this morning) but also I realized. Well the sort functions are self-explanatory. Randomly generate an array and then sort it, timing how long each sort takes to do it. But then the search functions... *what* are we supposed to be searching???? That's. Not stated in the document. So I'm gonna ask the TA about that.
#speculation nation#also i think binary search needs them to be sorted already??? so uh. whats the deal here#but i got the bubble sort function done. gotta put in the code for insertion and selection sorts using the bones from the bubble sort#aka i copy pasted all the time stamp and print shit from the bubble sort to build off of. bc it's the same for these too#just that middle part. the loops themselves. those are different. but i can also find those online easy#also the professor literally Gave us the code in class. but im gonna double check them with online stuff too#just in case. since i wrote them down and he wrote them down on the board. several steps where mistakes could be made#the searches probably wont be difficult either. theyre still taking the same time stamps and printing thing from the sorts#just. searching instead. but *what* are they searching... thats what i need to know.#adding in the increased array sizes will be easy peasy. bc i just need to call the execution function additional times for each array size#then the code will do the rest.#graphing all of this output will take some time But so long as i can find out what im fuckin searching early in the class#i could still finish before the end of lab. plus i think i only really need my code checked off#like i gotta get my lab checked off before i can turn it in. which is why i have to have it done b4 the end of lab#even tho the lab is technically due at 11 pm tonight.#and i have to turn in my code And the graph i make from its output... but i dont Think the graph has to be checked off?? idk.#i'll ask i guess. either way i still feel like i'll finish with plenty of time. i got this 👍
1 note
·
View note
Text
gotta love that all the php docs you can find tell you that calling oci_new_descriptor will let you create an empty lob object, which keeps failing, and then i find a random bug report from 2006 about this exact thing not working and it turns out this function does in fact NOT create a valid lob object.
#tütensuppe#just this sort of bullshit all day long#also the part where youre supposed to be able to do a varchar array bind when you use a specific enum#turns out it does NOT convert your string to a varchar array and that method will fail every time#next thing im trying is calling the data update with a function that creates an empty lob#but for now i have to wait bc the database erased my access rights once again lol
1 note
·
View note
Text
Think’n ab cock warming izuku
A lazy Saturday morning, he has to get up later to finish some papers but that's a problem for later izuku. You wake up earlier than him for the first time ever, you admire his beautiful features whilst hes in slumber land.
His forest green hair being portrayed in the most beautiful lighting, said lighting brightening up his face despite being asleep, he's such a bright person he doesnt even need the suns array of beautiful sunshine for that. His slightly chewed lips dry yet so plump and kissable, the freckles that popped out more due to the sun's colors beaming on his beautifully tanned skin. He was gorgeous.
You leaned down to plant a gentle kiss onto his sleeping face, cupping his cheeks as you do so. The touch on his face makes him jolt and try and scoot away, his eyes squeezing shut and annoyance being painted on his features, he groans and tries to pull away but only to stay in the same place due to you holding his face.
Izuku was annoyed and opened his slightly crusted eyes to see your face, his eyes immediately softened. Finally being able to see his gorgeous emerald green eyes, you smile in content. He hums and closes his eyes again before you pepper kisses all around his face.
“ good morning~“
You sing in his ear, making him hum once more. He didn't want to be awake, izuku wanted to lounge around all day and be lazy with his other half before he had to go and teach a bunch of noisy kids, who he did love dearly.
“ you're always awake before me! I'm surprised I managed to get up before you!“
Izuku peers his eyes open slightly to look up at you with furrowed brows in annoyance, he groans and rolls his eyes before closing them again, all you can do is giggle at your adorable husband. You scoot in closer to him and squeeze his cheeks making him huff.
Izuku then sits up and yanks you into him making you bury your face in his chest. Your eyes widened in surprise but you weren't exactly complaining. He holds you close with a tight grip ensuring you can't move even if you tried.
“ go t’sleep baby. ’know you're tired, j’s get some rest hon.“
Izuku lazily gets out, his speech slightly slurred and his voice raspy and groggy do to the morning. He was a morning person, by all means but sometimes all he wanted was to be lazy with his significant other, and you seem to be ruining it by touching him whilst he's trying to sleep.
“ ’zuku m’not tired.“
“ shut up.“
Trying with all of your might you manage to squeeze out of his arms and roll onto of him making him turn over on his back, he groans and looks up to you with angry eyes ones you never really seem to see.
“ can I cockwarm you?“
His once angry eyes were now wide and confused. You wake up and the only thing on your mind is dick? Really? He groans again with a blush to his freckled and still baby-like cheeks, a scar on his right cheek. He was hesitant, he really was fathoming it, debating, thinking about it, whatever you want to say he truly was.
Izuku was having a hard time deciding, he did want you to do that to him only because he was particularly pent up, you two hadn't had sex in about 3 weeks? Thats far too long for someone like izuku, he would never force you to do something of the sort, normally you initiate sex and he happily obliges, but you both have been very busy recently and haven't had time to do much more than hold each other when nightfall returns at the end of everyday.
Izuku finally had an answer, he gulps and looks back up at your happy and waiting eyes. You would've been okay with either answer, really. You just wanted him to be inside of you. With a blush still on his cheeks, he nods to you before looking away.
“ I want a verbal answer my love.“
He sighs at your words, eyes shutting as he clears his throat trying to get rid of the grogginess of the morning time.
“ yes, you can c... cock.. warm me...“
Izuku manages to get the confirmation out as you giggle and lay down beside him, confused he follows you insuit, you scoot back into him and pull down his sleeping shorts just enough to get his flaccid cock out. You stroke him a little trying to get him to harden up, gentle tugs at his fat and heavy cock in your hand, the weight of it is always nice but the stretch is always better. The thought alone brung a smile to your face.
Izuku watched your movements closely, admiring the way you were so sweet and gentle with his member, so careful with such soft movements it made him twitch in your hand. With that, you knew he was ready. He gulped as you turned around and pulled your underwear to the side scooting back onto him and pushing his cock inside of you.
You both wince and groan and make some kind of noise as he tries to push his way inside, you were tight and he felt just how much so, going straight to his head as he gulped down hardly. His brain was getting fuzzy from the intense squeeze to his cock, you really should've prepped yourself first. with a couple of minutes waiting you finally manage to get him inside, he bottoms out almost immediately he's always so needy and impatient when it comes to things like this he ended up thrusting into you making you fall forward and moan.
“ zu what are you.. doing?“
You ask slightly out of breath, he was choking on his breath trying his hardest not to absolutely ram his cock in and out of you like he knows he needs. God izuku was so horny he just wanted to fuck you so badly.
“ s- sorry.. hon I- ngh~...“
He sentence was ended by a muffled groan, you really were squeezing his cock so tight. You take breather and scoot back into him, his cock still being buried deep inside. It makes him moan softly into your ear as you get closer, a beautiful noose that you always welcome and are always pleased to hear. He hums in a whiney tone on accident, getting extremely red when you laugh at the desperate sound escaping your poor husband.
You sigh happily as you can feel his heavy cock stuffing you full, twitching occasionally when you pulse around him. Izuku held you close wrapping his hands around your stomach, he buried his face in your neck trying to lull himself back to sleep, you intoxicating smell so sweet and driving him absolutely feral. He tried so hard to go back to sleep but he was having a hard time, his cock was so deep inside of you and only getting deeper as time passed yet he wasn't fucking you. Not like he wanted to.
Izuku sighed desperately and defeatedly as he looked down at you only to see you asleep with a smile on your face. For fucks sake. There was no way he was getting back to sleep, and absolutely no way hes not blowing his load deep inside of you.. if he even gets to cum.
#cvnts-post#mha#mha x reader#boku no hero academia#deku x reader#izuku x reader#izuku is so girlie pop#deku smut#deku fluff#deku x reader fluff#deku x reader smut#fluff/smut#mha x reader fluff#mha x reader smut#mha smut#mha fluff#izuku smut#izuku fluff#izuku#izuku midoriya#izuku midoriya x reader#midoriya#izuku midoriya x reader fluff#izuku midoriya x reader smut#midoriya izuku#midoriya izuku x reader#midoriya izuku x reader fluff#midoriya izuku x reader smut#midoriya izuku fluff#midoriya izuku smut
5K notes
·
View notes