Tip 1 : Practice Atleast 250 Questions on GFG/Leetcode
Tip 2 : For DSA questions in interviews, start explaining from the brute force approach and then move to the optimal one. Convey your thought process to the interviewers, so that they can help you out if you get stuck.
Tip 3 : Do not write anything that you are not confident of in resume
Tip 4 : Do atleast 2 projects
Tip 1: Try to include at least one development project in your resume.
Tip 2: Interviewer will ask anything from your resume so be prepared for it.
Tip 3 : Don't mention some random projects which you are not sure about or copied from Google or somewhere else.
There were total 40 mcq based upon Aptitude, Coding, DBMS
and we had to write one essay on the given topic
David can do a piece of work in 2 days while Ron can do the same work in 5 days. How long will it take if both of them work together?
Time taken by David to do the work = 2 days
Work done by David in 1 day = 1/2
Time taken by Ron to do the work = 5 days
Work done by Ron in 1 day = 1/5
So, work by David and Ron in one day = 1/2 + 1/5
= (5 + 2)/10
= 7/10
Therefore, David and Ron can do a piece of work in 10/7 days, i.e., 1 3/7 days.



You must write an algorithm whose time complexity is O(LogN)
-#include int main(){
int x = 80; int y& = x; x++; cout << x << " " << --y;
return 0;}
It will result in a compile time error.
#include using namespace std;
int f(int &n){ n--; return n;}
int main(){ int n=10; n=n-f(n); cout<<n;
return 0;}
1
Write a query to fetch the EmpFname from the EmployeeInfo table in upper case and use the ALIAS name as EmpName.
SELECT UPPER(EmpFname) AS EmpName FROM EmployeeInfo;
Write a query to retrieve the list of employees working in the same department.
Select DISTINCT E.EmpID, E.EmpFname, E.Department
FROM EmployeeInfo E, Employee E1
WHERE E.Department = E1.Department AND E.EmpID != E1.EmpID;
In this round there were total 4 coding questions, we were not allowed to use any inbuilt data structure or function.



1) A prime number is a number that has only two factors: 1 and the number itself.
2) 1 is not a prime number.



1. If 'X' is not found in the array, return 0.
2. The given array is sorted in non-decreasing order.




import java.util.Scanner;
public class Edureka
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
System.out.println("Enter the number of rows: ");
int rows = sc.nextInt();
for (int i=1; i<= rows ; i++) { for (int j = rows; j > i ; j--) {
System.out.print(" ");
}
System.out.print("*");
for (int k = 1; k < 2*(i -1) ;k++) { System.out.print(" "); } if( i==1) { System.out.println(""); } else { System.out.println("*"); } } for (int i=rows-1; i>= 1 ; i--)
{
for (int j = rows; j > i ; j--) {
System.out.print(" ");
}
System.out.print("*");
for (int k = 1; k < 2*(i -1) ;k++) {
System.out.print(" ");
}
if( i==1)
System.out.println("");
else
System.out.println("*");
}
sc.close();
}
}
Interviewer asked me 2 coding problems, told me to explain my projects and some questions from oops and DBMS



1. The array consists of only 3 distinct integers 0, 1, 2.
2. The array is non-empty.



In the given linked list, there is a cycle, hence we return true.

What is Convolution Neural Network?
Explain 4 pillars of OOPS
Difference between Inner Join, Left Join and Right Join
Group by in MYSQL
Basic HR Questions
1. Why did you decide to apply to this role?
2. Tell me about your project
3. What do you know about our company’s product/services?
4. Your Strength and Weakness

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?