adityagamer's blog

By adityagamer, history, 4 months ago, In English

I see people frequently criticizing the problems which is implementation heavy or requires too much mathematical equation. I feel all the problems are good.

I want to others opinion on what is a good problem. So what are qualities of a good problem according to you?

Full text and comments »

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

By adityagamer, history, 5 months ago, In English

What is your favorite codeforces community moment? Here are my top 2 favorites:

Full text and comments »

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

By adityagamer, 5 months ago, In English

Hi, this is a guide for people who have mostly done CP but don't have good grasp on anything else like DSA, CS fundamentals (OS, DBMS), or interview speaking skills.

DSA

If you are good in CP, it won't take much time to be good in DSA. In OAs, many companies ask CP too, and most of the problems are rated 1200-1700 CF rating. Few companies ask some very high rated problems. So if you are going to give any company's OA, take a look at its past year OA from GFG/leetcode to estimate the difficulty. This famous striver sheet has got everything related to DSA covered and this won't take more than 1 week to solve.

If you are very desperate about a company, ask your friends from different college if that company has visited this year, then ask him its OA and interview questions. There is a high chance of few questions repeating in same year.

CS Fundamentals (OS, DBMS, CN)

During interview, if you are asked a question and if you don't know the answer. Don't say that I don't know, this gives an impression that you don't know anything. Tell about some terms related to it and your exact thought process.

To study, use gfg common interview questions and google everything which you encounter and don't know. Here are the links for OS, DBMS, CN

Complementary interview guide which I wished I knew

  • Common for all rounds: There should not be silence for more than 5-10 seconds. Either you should be speaking or interviewer should be speaking and be confident. Avoid one liners and give proper description. Be frank with the interviewer.
  • In DSA round: If you are given a problem, don't skip to the solution. First generate 3-4 test cases and corresponding answer and confirm with interviewer to make sure you understood the problem. Think out loud. Keep speaking about what approach you are thinking of. Its not a bad thing if interviewer gives you a hint, interview is not just about whether you solved or not, its about how is your approach and explanation skills and whether you are able to take hints. After coding, don't say I am done. Take a test case and dry run.
  • In fundamentals round: Be calm and confident. Even if you don't know the answer, don't just say I don't know. This gives an impression that you don't know anything on the topic. Just tell some terms related to it. Before giving the interview read the Job Description to see which fundamentals are required, if its written OOPs and if interviewer asks are you comfortable in OOPs, even if you are not much confident just say yes because if you say no then you are already rejected. And then if you are asked some question which you have not seen before in OOPs, just say okay I have never seen this before but I think this is related to this So this...
  • HM/HR rounds: Make sure to prepare for common HR questions. Be genuinely interested in the company. Read about it from its PPT and JD. In every behavioural question, make sure that you always respect other's opinion and be positive.

Luck VS talent

You may get too many rejections. Just stay strong and practice. Don't blame luck, just try to see why you got rejected in this company and fix it.

Don't ask friends for mock interview(Very Important)

Your friends may not know everything about interviews, ask some senior who has graduated from your college and has conducted some interviews. They have very good knowledge.

Don't lie

Interviewers are very experienced. They can sense the lie but they won't let you know that they found it.

Don't lose hope, just keep improving after every interview and keep trying. All the best

Upd: Fixed typo

Full text and comments »

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

By adityagamer, history, 9 months ago, In English

Hi MikeMirzayanov

I have been recently experiencing a few bugs:

  1. Around 30-40% of times when I click right click on submit button and select open in new tab, The problem ID is not automatically filled. This being too often while solving from problem set is sometimes frustrating.

  2. (It is recently happening in all ongoing contest) I opened dashboard, solved problems on different tab. I refresh the dashboard tab after some minutes and I get "?f0a28=2" this added in the URL. I refresh after sometime again. I get "?f0a28=x", x is the times I refreshed. After around x=4, I get error 403. The problem gets fixed when I remove "?f0a28=x" from URL and enter again.

Thanks.

Full text and comments »

Tags bug
 
 
 
 
  • Vote: I like it
  • +14
  • Vote: I do not like it

By adityagamer, history, 9 months ago, In English

Debugging interactive problem is very hard for inexperienced and new programmers.

I have seen google code jam providing the interactive program when they ask interactive problem which helps in debugging the program locally.

Also, giving the interactive program will neither spoil any answer nor it will take any extra effort, as you would have already written it.

Don't you think this will improve the experience of users?

Full text and comments »

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

By adityagamer, 10 months ago, In English

This is my solution: Solution(Not visible) Check my code below

For question : Question

It is giving TLE on Test 3.

My code

My solution is in O(t.log(p)).

Full text and comments »

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

By adityagamer, 10 months ago, In English

Codeforces does not have a feature to view available blogs.

If you want to view a list of codeforces blogs, you have to manually randomly try some blogid. I have written a python script which returns you id and name of blog in range of blog ids.

It is very simple script but it is very useful.

https://github.com/adityagamer786/Codeforces-blogs

Full text and comments »

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