#cpp
Posts tagged #cpp on Dynamo Geeks: 8 posts from the community, most useful first.
Posts tagged #cpp
CF Expert but bombed my first real interview. interviewer said 'communication'. what does that even mean for a coding round?
ok so. codeforces expert (1680), ICPC regionals twice. first internship interview yesterday, dhaka product company, panel was remote from singapore. problem was a medium graph thing. had the idea in 2 min, coded it in 8, passed all their cases. feedback today: "strong problem solving, weak communication, no hire." bro WHAT. i solved it. faster than anyone they've probably seen. what do they want, a ted talk? also…
Binary search on the answer: when nothing is sorted but you can still binary search
Students learn binary search as "find x in a sorted array" and then get stuck on questions where nothing is sorted. The trick is that you are not searching the array. You are searching the answer . The problem You have packages with weights w[i] that must be shipped in order. A ship carries them over D days, loading packages in order each day until the next one would exceed its capacity. What is the minimum capacity…
Some of you will be paged for this. I will be retired. Check your time_t, and check what your database driver does with it. Regards.
Which language do you actually use in DSA rounds? (honest answer, not the one you wish you used)
JavaScript is not programming. It is typing with extra…
JavaScript is not programming. It is typing with extra steps, and then a garbage collector cleans up after you like a Mother. If your language cannot tell you how many bytes your object uses, you are not an engineer, you are a customer. Regards.
16.6 ms is not a lot of time: frame budget for people who never shipped a game
No, so. Every week somebody in our Discord asks "why my game is 40 fps, I have RTX card". This post is the answer I will link from now on. The budget 60 fps means you have 16.67 ms for everything. 30 fps means 33.3 ms. 120 fps means 8.3 ms, good luck. And "everything" is not one thing. In Unreal you have mostly three things running in parallel: Game thread : gameplay code, Blueprints, Tick, animation logic, AI.…
What a JavaScript developer sees when you show them a pointer.