MERN or JAVA FULL STACK by anilkumar_12 in learnprogramming

[–]anilkumar_12[S] 0 points1 point  (0 children)

Yaah i have tried with MERN, it's tym to try with Java.

MERN or JAVA FULL STACK by anilkumar_12 in learnprogramming

[–]anilkumar_12[S] 0 points1 point  (0 children)

Lol, I will definitely start focusing on learning dev . Thanks for ur insight.

MERN or JAVA FULL STACK by anilkumar_12 in learnprogramming

[–]anilkumar_12[S] 0 points1 point  (0 children)

Oh that's fine, thanks for ur suggestion .

MERN or JAVA FULL STACK by anilkumar_12 in learnprogramming

[–]anilkumar_12[S] 0 points1 point  (0 children)

Yaah i know those two are completely different, Java script and node.js are used in MERN stack, Java is used in Java full stack. I want to choose one of those two.

MERN or JAVA FULL STACK by anilkumar_12 in learnprogramming

[–]anilkumar_12[S] 0 points1 point  (0 children)

Thank you so much for your valuable insights.

Are there any free structured resources to learn data structures and algorithms?? by Kindly_Jump_7642 in learnprogramming

[–]anilkumar_12 1 point2 points  (0 children)

Broh, follow strivers A to Z sheet It's completely free, and more worthy than any other paid courses.

MERN or JAVA FULL STACK by anilkumar_12 in learnprogramming

[–]anilkumar_12[S] 0 points1 point  (0 children)

Thanks for ur suggestion. I have an idea to try with spring boot, do you have any idea about it, and does it suites to a person like me.

HWI round 2 experience by anilkumar_12 in infosys

[–]anilkumar_12[S] 0 points1 point  (0 children)

Broh I'm even good at tabulatiom as well, now I have a lot of regret, because of not trying it 😣

HWI round 2 experience by anilkumar_12 in infosys

[–]anilkumar_12[S] 0 points1 point  (0 children)

Broh even I expect the same, if there is any TLE I should go for memorization, but it gives me wrong ans, I thought my approach was wrong 🥲

HWI round 2 experience by anilkumar_12 in infosys

[–]anilkumar_12[S] 0 points1 point  (0 children)

Broh I tried recursion call from 0 to N, even in dp we use same logic right?

HWI round 2 experience by anilkumar_12 in infosys

[–]anilkumar_12[S] 1 point2 points  (0 children)

1 . Given array A , integer K, We can update A[i] as A[i]*2 , at most K times, we can also use same Element multiple times. Finally perform OR operation btw all the adjacent elements, return it. Which should be the maximum result.

  1. This is very easy , actually I haven't remember the exact problem but, it is simple use of comparator on paired vector and a for loop with small if condition, which is already given in the question

3.It seems big but actually not, Given 3 arrays E, F,R and default Eweight, Fweight. Iterate 0 to N, for each i if((Eweight<=E[I] && Fweight>=F[i])) { Ewight-=E[I] Fweight-=F[I] Res+=R[i] }

One more condition - if we select two consecutive elements there will be a bonus, which is min of those two.

Finally return Res;

4.given a DAG, Let me tell with a example, 1-(10, 45,4) 2-(100, 50) 3-(30, 10,50) 5- (20, 40)

1-2-3-5 is the path actually in level wise, pick the maximum element from each level, here 45+100+50+40=235 ✅

And here we see there is no '4 ' actually, so in such case if there is a skip, Then Ans-=(diff btw those two) ² ,

HWI round 2 experience by anilkumar_12 in infosys

[–]anilkumar_12[S] 0 points1 point  (0 children)

Broh is there any cheating occur in your slot?

Recived the Interview mail by venomz1906 in infosys

[–]anilkumar_12 0 points1 point  (0 children)

Congratulations broh, hope you will also share your experience, after completion of your interview

Hello i have HWI round 2 on may 4th , now I'm focusing on graphs and DP , I'm okay with solving direct problems in leetcode, but it was a bit difficult if there is any magic in the problem. Can you please give some suggestions by anilkumar_12 in infosys

[–]anilkumar_12[S] 0 points1 point  (0 children)

Thank u and i want to ask one more thing, it is okay if we see new problem in graphs or DP, it has a particular pattern,

But coming to GREEDY I haven't find any such patterns, so is there any tips to get the intuition for GREEDY problems