Tip 1 : Make a habit of coding every day. Focus on understanding of topics rather than the number of questions.
Tip 2 : Do at least 2 projects with complete knowledge of the project's domain.
Tip 3 : It's better to start competitive programming to clear coding rounds easily.
Tip 1 : Don't put false things on your resume.
Tip 2 : Have at least 2 projects on your resume preferably in different domains.
Tip 3 : Don't mention things in which you are not confident.
Test Timing login time : 9pm to 10pm on AMCAT
Online Test Consist of 5 Sections you were not allowed to go to next section until you complete current section.
Section 1: Aptitude
Section 2: Logical
Section 3: Verbal
Section 4 :CS Subject
Section 5 : Coding Questions
There is only one space between the values of each column in a row.
For example, Pattern for ‘N’ = 5 will be.
1 2 3 4 5
11 12 13 14 15
21 22 23 24 25
16 17 18 19 20
6 7 8 9 10
Step 1: Divide the pattern into 2 patterns, Pattern 1st increasing, Pattern 2nd decreasing
Step 2: Print increasing pattern
Step 3: Print Decreasing Pattern
#include
using namespace std;
int main()
{
int n;
cin>>n;
int p=n;
for(int i=1;i<=n;i+=2)
{
int k=(i-1)*n+1;
for(int j=0;j0;i-=2)
{
int k=(i-1)*n+1;
for(int j=0;j {
cout< k++;
}
cout< cout<}
return 0;
}
1) First find the leaf node that is on the maximum sum path. In the following code getTargetLeaf() does this by assigning the result to *target_leaf_ref.
2) Once we have the target leaf node, we can print the maximum sum path by traversing the tree. In the following code, printPath() does this.
Technical Round 1 Interview
Started from 11 am to 11.20 am
The interviewer was very good. He was paying full attention towards me
If the given list is (1 -> -2 -> 0 -> 4) and N=2:
Then the 2nd node from the end is 0.
Step 1: Brute force copying every element in this linked list to another array and then returning n the element from the end of that array
Step 2: The interviewer asked me to solve without using extra space.
Step 3: Then I gave a solution with 2 pointers starting from the start with the difference of n element between them.
HR Round started from 3 pm till 3.20 pm
24 Students were selected for this round 10/24 got the final offer I was one of them.
the interview started with introducing yourself
and then Group vs Personal project (I answered Group: and I got group project during internship)
then we discussed one of my project like a startup. he looked interested at this point (and I think this is a major reason for my selection. )
Tip 1: In the HR round always think about what is good for the company and answer the questions accordingly.
Tip 2: Try to have basic knowledge of the interviewer and his background.
Tip 3: Ask questions at the last to the interviewer which will make him think you are very interested to join this firm.
Tip 4: At any point don't say anything which will make him think that you can leave the company you are applying to.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you write a single-line comment in C++?