Tip 1 : Don't get nervous during the interviews and prepare well.
Tip 2 : Don't mug up the theoritical concepts of OOPs and other instead try to understand them along with a real life example to explain them in a better way in interviews.
Tip 3 : During interviews, start with the brute force approach and then present the opitmised approach of the problem.
Tip 1: Keep it short, simple and precise
Tip 2: Keep your project title and other relevant information bold to attract the eyes of the interviewer
This round consisted of several MCQs which were divided into sections. The Mcq section must be solved in a particular time limit. The MCQ were easy and can be solved by applying some logic. These MCQ requried knowledge of various topics ranging from OOPs to Java to Web Development including HTML, CSS, Javascript and Jquery. In Web Development, they basically asked us by showing an output image that which of the following code(option) would produce this result or how would you align the text in center, etc. In OOPs they were straight forward based on pillars of OOPs.



I solved the Problem using the concept of Dynamic Programming bottom up approach. In this i subdivided the problem into smaller problems and then used the result of smaller problems to calculate for large problem.
So calculating coins need for any small amount less than target and then using it further for larger subproblems.
int coinChange(vector const &arr, int sum)
{
int dp[sum + 1];
for (int i = 1; i <= sum; i++)
{
dp[i] = INT_MAX;
int result = INT_MAX;
for (int c: arr)
{
if (i - c >= 0) {
result = dp[i - c];
}
if (result != INT_MAX) {
dp[i] = min(dp[i], result + 1);
}
}
}
return dp[sum];
}
This was my code for the problem where i used a 1-d array to store the results of subproblems and used it to get the output.
In this i was calculating the coins for each amount less than target(sum) and then using it forward for further calculations and a last returning the result stored at last index of the array.



If the given string is: STR = "abcde". You have to print the string "edcba".
Try to solve the problem in O(1) space complexity.
I solved the problem using a character array in which i stored all the characters from the string.
So i traversed the string and stored al the characters in the character array.
Then i reversed the array.
Now i again traversed the original string and checked if the particular element is character then replaced that with character from my reversed character array and for doing this i used a integer variable to keep pointing to my current index in the array.
string reverse(string s)
{
char temp[s.length()];
int x = 0;
for (int i = 0; i < s.length(); i++) {
if (s[i] >= 'a' && s[i] <= 'z'
|| s[i] >= 'A' && s[i] <= 'Z') {
temp[x] = s[i];
x++;
}
}
reverse(temp, temp + x);
x = 0;
for (int i = 0; i < s.length(); i++) {
if (s[i] >= 'a' && s[i] <= 'z'
|| s[i] >= 'A' && s[i] <= 'Z') {
s[i] = temp[x];
x++;
}
}
return s;
}
This was solution to the problem.
The was the technical interview round. It was conducted at around 3 p.m.
The interview was scheduled online over Superset platform.
The interviewer came and introduced himself.
Then he started the interview with my introduction where i covered all my details as well as technical and non-technical skills and projects and internships. T
hen he started asking me about OOPs concept and asked me to provide output for a java code which he copy pasted in the chat box.
Then he asked me about Java Concepts
With this the interview was done.
Overall, the interviewer was very friendly.
Write a program to perform Addition, Substraction, Division and Multiplication operations in Java.
I started by taking two numbers as input from the user and then i asked user which operation he wanted to perform. then on the basis of user's choice i used Switch case statements to perform the operation and show the result on the console. I also used Exception handling in the division operation to check if DivisionByZero Exception occurs and handle it. ( the interviewer was impressed with this approach )
explain interface vs abstract classes
What are static keywords?
What is multithreading in java?
how many ways to create threads in java



153 = 1^3 + 5^3 + 3^3.
Therefore 153 is an Armstrong number.
The idea is to first count number digits (or find order). Let the number of digits be n. For every digit r in input number x, compute rn. If sum of all such values is equal to n, then return true, else false.
what are exceptions and how many type of exceptions are there.
This round was HR Round which was also conducted online over the Superset Platform.
It was conduted in the morning at around 10 a.m.
The interviewer came and introducted herself.
Then she asked me to introduce myself.
Then she asked me my basic details such as Am i comfortable in doing night shifts, relocate to Pan India.
Then whether i have Pan card, aadhar card, Passport( i said i dont have so she suggested me to apply for the same)
Then she asked me for my email and mobile number in the chat box and the interview concluded.
The interviewer was quite polite.
She asked whether I have the governments Id Proofs or not for ex., Aadhar card, Pan Card and Passport and asked me to apply for the passport.
Introduce yourself
Am i comfortable in doing night shifts?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: