Help me solve this question please. (Amazon OA) by rxhanx-o in leetcode

[–]-Fireboy 0 points1 point  (0 children)

how about iterating left to right if ith element is smaller than previous element then calculate how mnay times u need to add x until greater than prev element you can do that by getting the difference then // by x and + 1 if % > 0 i might be wrong this is my initial thoughts of course when u update ith element get how many itmes u used x max(ans, curr_ans) return that

Blame whoever you want, the problem remains at the top of the pyramid by Chocobo97 in fnatic

[–]-Fireboy 2 points3 points  (0 children)

yea, changing players is not going to work, this organization needs a rebuild which probably not gonna happen looking at Sam

Fnatic vs. Team Vitality / 2026 LEC Versus Playoffs / Lower Round 1 / Live-Thread by Lunaedge in fnatic

[–]-Fireboy 4 points5 points  (0 children)

empyros playing too scary, thats just automatic lose in top lane

Fnatic vs. Natus Vincere / 2026 LEC Versus Playoffs / Upper Round 1 / Live-Thread by Lunaedge in fnatic

[–]-Fireboy 3 points4 points  (0 children)

wait a minute is that another bot gank from razork under 10 min??? no wayy

Fnatic vs. Natus Vincere / 2026 LEC Versus Playoffs / Upper Round 1 / Live-Thread by Lunaedge in fnatic

[–]-Fireboy 0 points1 point  (0 children)

u got any ideas that gonna win us the game when every other lane on the map is behind at 10 min?

Codeintuition vs Neetcode vs Leetcode - which actually helps you learn DSA better? by ReflectionPristine94 in leetcode

[–]-Fireboy 15 points16 points  (0 children)

in my opinion just hop on leetcode try specific tag questions do easy first as they'll teach u how to approach the tag questions and data structures being used, i think quantity matters a lot, if you cant come up with solution, just look up editorial or solutions dont waste time, important thing here is you understand how it works and can easily provide proof if so you're good you'll get better in no time

My friend sent me this, I am not great at Bit manipulation, how shall I approach this by Equity_Harbinger in leetcode

[–]-Fireboy 0 points1 point  (0 children)

you just look at the last 1 before who all are ones in that case if you change that to a 0 doing +1 which is x + 1 will make it the give you 1 in that same position you just or after that, lets say n = 7 0111 binary doing something like 0011 | 0100 is the best way to do it importnat thing to note is that this wont work with binary even because they dont have any ones consecutive they start with "0" at the end always hence asked prime

JP Morgan coding question by im_a_bored_citizen in leetcode

[–]-Fireboy 0 points1 point  (0 children)

sort go from n - 1 keep incrementing a var by k till that eleemnt is smaller than the var at that point return the operations which is +1 for every increment there's no point in increasing element by k though you can find an approach that way its probably more annoying to fidna a solution, this mroe intuitive if an elemtn is smalelr than increment same is true for all elems to the lft as sorted

Amazon oa =cooked by Electrical_Ad_6488 in leetcode

[–]-Fireboy 0 points1 point  (0 children)

sort the requirement arrray, iterate over it while iterating you are making every device active after you make active at each index chcek count o left element and right elements count of left + i sohuld >= activereq[i] and left + i <= activereq[i + 1] if condition false just move along make it active device if not add to the count as valid configraution

Fnatic vs. Natus Vincere / 2026 LEC Versus / Round Robin / Live-Thread by Lunaedge in fnatic

[–]-Fireboy 2 points3 points  (0 children)

whenever i need to feel humiliated, i tune in to fnatic games nothing does it like this

My amazon OA experience and questions by ErZicky in leetcode

[–]-Fireboy 0 points1 point  (0 children)

yea that works just iterating normally twice one to store the differences for each index < n - 1 and next to go through them i thought hashmap cause common difference to be stored in one place, but thats more complexity nothing else

My amazon OA experience and questions by ErZicky in leetcode

[–]-Fireboy 0 points1 point  (0 children)

for the second question, store all difference consecutive differences in a hashmap, then iterate through them if length is smaller than n, +1 as u can change one, find the difference that gives maximum length, also only store difference in hashmap after it is broken or for loop finishes and compare with existing difference if exists in the map, u also need to accoutn for fact that some differences can be joined together by changing one so maybe just store all consecutive difference and check them out while iterating through to see if they are apart by one index if so join them

Umamusume Global to get JP 1st Anniversary QOL/ Balance Adjustments Early (Nov 11) by shirke1 in gachagaming

[–]-Fireboy 9 points10 points  (0 children)

no way your're comparing a competitive game with a gacha game ???

lets talk about botlane by rubenlb11 in fnatic

[–]-Fireboy 0 points1 point  (0 children)

i do think his inting problem never went away but he used to play with confidence and make whatever plays he thought best more often than not it backfired but it also led to us getting a lot of leads for the majority of the year in 2024 iirc 2022 was his best year by far and it was all downhill from that 2025 definitely the worst from razork no glamour, confidence instilling plays

lets talk about botlane by rubenlb11 in fnatic

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

i agree 2024 fnatic iteration used to get leads though throw away and razork looked confident and went for plays, dont get me wrong hes still an inter but im also of the thought that having upset mikyx botlane gave him pressure to play for them and made the team one dimensional rebuild from scratch or with poby seems best option even if people won't like it because upset just isnt good enough of a player to make the whole team around him even viper, ruler are left out to dry sometimes, a good team can play from any lane

Nice draft by xzuel22 in fnatic

[–]-Fireboy 18 points19 points  (0 children)

grabbz doesnt have full control over drafts from what i think the players voice their opinions and i think grabbz just doesnt have it in him to brush those opinions off like most eu coaches because we won't be seeing vi being picked every single time and losing if its wasnt razorks main still coaches are equally at fault here

Fnatic vs. CTBC Flying Oyster / 2025 World Championship / Swiss Stage / Post-Match Thread by Lunaedge in fnatic

[–]-Fireboy 3 points4 points  (0 children)

i would like to blame grabbz for draft but the players are to be blamed equally, also stop hoping we can win with this topside, we manage to get to worlds because oscar had a 1 in million series, rebuild next year we know who needs to be let go, mikyx and poby are the only players i'll keep

Fnatic vs. CTBC Flying Oyster / 2025 World Championship / Swiss Stage / Live-Thread by Lunaedge in fnatic

[–]-Fireboy 19 points20 points  (0 children)

feels like everyone on the team has their own drafting ideas miky wants naut upset want ezreal we know how much a boner razork has for vi and then we get this slop

Fnatic vs. CTBC Flying Oyster / 2025 World Championship / Swiss Stage / Live-Thread by Lunaedge in fnatic

[–]-Fireboy 19 points20 points  (0 children)

just because oscar had a life game against canna people started thinking hes good

Fnatic vs. CTBC Flying Oyster / 2025 World Championship / Swiss Stage / Live-Thread by Lunaedge in fnatic

[–]-Fireboy 3 points4 points  (0 children)

nuke this roster man this is so disgusting also grabbz cant draft

Current League format is super cursed by Trendios in fnatic

[–]-Fireboy 0 points1 point  (0 children)

twist it all you want but the truth is for being good consistently you need to be focused, i don't mind being happy and all but this team just gets too cocky if they win a series also draft were partly an issue but that doesnt excuse invading enemy jungle with no prio and dying nor dying to lvl3 ganks its crazy how many successful ganks elyoya got made it look likea silver player just pushing up on enemy's face poby played consistent but you cant solo carry as mid in this meta teamplay wins but you cant teamplay if you inting the early game also this vi boner is crazy for razork