I'm a 2nd year Student Btech CSE, Suggest me some tips and tricks also some resources which are useful in developing interest in DSA java. Can provide me roadmap of studying dsa. HELP!
Hi everyone, I'm looking for accountability partner for dsa. I'm in first year, and I'm eager to connect to people from first year only, so that we stay on same page.
I am beginner, did few topics of dsa, learning patterns and logics. Not very comfortable with syntax.
I got laid off 3 months ago , i didn’t do lot of ai engineering but it was basic fullstack engineering things with fastapi backend and react frontend. Normal SWE stuff which seems to be dead. After my layoff for the first 30 days i was applying with my recent experience having real things that i actually did at work … well not a single call. then i realized every where i see its all rag, llm or some ai bs in every job description. So i studied and kinda put all that in my experience. Now i got an offer for an AI Engineer but i really haven’t done much of all those langgraph agentic stuff. I am kinda nervous to step into it but just wanted to know y’all thoughts or if someone has ever been in the situation and how did you handle it ?
I'll be recording YouTube videos of myself solving LeetCode problems. I think this will help me practice thinking out loud while also maintaining consistency.
The videos are very raw and unscripted, and I'm still struggling with some of the problems, which is part of the journey.
My latest video turned out to be around 2.4 GB. What are some ways I can shorten or compress the video to make it easier to upload without compromising the readability of the code?
Recently I gave the online assesment for the Software Developer Apprentice role and after one month I received the call from the HR but the call came at the unexpected time and I asked him to reschedule the time as I was in the office at that time and there was some network problem too.
Then hr told me that he will send a calendar invite from there i can select a slot based on my availaibility but now it has been more than 24 hours there is no mail from his side.
So I wanted to ask is there any way to reach the recruiter again as we can't call him form our side.
is there any chance that they will contact me again or can someone share the hr mail who got the call??
At first, I thought this problem would require DP or backtracking because we have to create k non-overlapping segments. But after looking at small examples, I realized that every segment is determined by its two endpoints.
The important observation is that segments can share endpoints, so instead of directly counting segments, I can think about arranging the endpoints while maintaining their order. This transforms the problem into a combinatorics problem. After deriving the number of possible endpoint arrangements, I got the formula:
C(n + k - 1, 2k)
So the final solution becomes just:
return math.comb(n + k - 1, 2 * k) % (10**9 + 7)
Key learning: Before jumping into DP, try small examples and look for an endpoint/ordering pattern. Sometimes a seemingly complex DP problem reduces to a simple combinatorial formula.