apnakaamkar's blog

By apnakaamkar, history, 3 years ago, In English

Current Exp: 6 months Current Pos: SDE-1

I have a machine coding round at Swiggy for SDE-1 position, could anyone here brief me what difficulty level can I expect keeping in mind my 6 months exp? Are we allowed to code on our IDE? Are we allowed to make a google search to find some syntax online? I couldn't find much on the internet, any help would be much appreciated and please suggest some good resources to practice machine coding round. Thank you

Full text and comments »

  • Vote: I like it
  • -19
  • Vote: I do not like it

By apnakaamkar, history, 3 years ago, In English

Can anyone tell me why I am getting different values of lhs and rhs? I expected them to produce similar results.

double lhs=y*log10(x);
double rhs=x*log10(y);

**

double lhs=log10(x);
double rhs=log10(y);
lhs*=y;
rhs*=x;

I am getting wrong answers for x=6,y=6 while submitting on codeforces but I am getting correct on VSCode.

Full text and comments »

  • Vote: I like it
  • -19
  • Vote: I do not like it

By apnakaamkar, history, 4 years ago, In English

Are you guys still using a20j ladder? which has pretty old problems and also the difficulty level has also increased if compare old contest with new contests. Is it still a good idea to go with a20j or anyone have updated ladders? Please, someone, enlighten me.

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it

By apnakaamkar, history, 4 years ago, In English

Has anyone gone through WorkIndia on-campus hiring placements? Like what was the difficulty of the questions asked and everything else?

Full text and comments »

  • Vote: I like it
  • -28
  • Vote: I do not like it

By apnakaamkar, history, 4 years ago, In English

Input format: [queue], [group size] input : 4 5 3 2 5 6 7 1, 3 output: 3 5 4 6 5 2 1 7

I know how to reverse a queue without using extra space but I am quite stuck here. Any help would be much appreciated?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By apnakaamkar, history, 4 years ago, In English
  • Vote: I like it
  • -5
  • Vote: I do not like it

By apnakaamkar, history, 4 years ago, In English

Could anyone please explain to me how to solve this dp problem? Link:https://atcoder.jp/contests/dp/tasks/dp_p Please help?

Full text and comments »

  • Vote: I like it
  • -20
  • Vote: I do not like it

By apnakaamkar, history, 4 years ago, In English

Could anyone please explain to me how to solve this dp problem? Link:https://atcoder.jp/contests/dp/tasks/dp_o Please help?

Full text and comments »

  • Vote: I like it
  • -19
  • Vote: I do not like it

By apnakaamkar, history, 4 years ago, In English

Could anyone please exlain me how to solve this dp problem? Link:https://atcoder.jp/contests/dp/tasks/dp_n Help?

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it