Tip 1 : You need a strong aptitude for knowledge as a first tip
Tip 2 : Solve questions from previous coding questions
Tip 3 : Make sure your resume includes at least two projects
Tip 1 : Have at least 2 good projects mentioned in your resume with a link
Tip 2 : Focus on skills, internships, projects, and experiences.
Tip 3 : Make it simple, crisp, and one page
This was an online test on the hackerrank platform



A mapping from Digits to Letters (just like in Nokia 1100) is shown below. Note that 1 does not map to any letter.

class Solution {
public:
void solve(string digits, string output, int index, vector &ans, string mapping[]) {
// basecase
if(index>=digits.length()){
ans.push_back(output);
return;
}
int number=digits[index]-'0';
string value=mapping[number];
for(int i=0;i letterCombinations(string digits) {
vector ans;
if(digits.length()==0){
return ans;
}
string output;
int index=0;
string mapping[10] ={"", "", "abc","def","ghi","jkl","mno","pqrs","tuv","wxyz"};
solve(digits,output,index,ans,mapping);
return ans;
}
};



We cannot use the element at a given index twice.
Try to do this problem in O(N) time complexity.
class Solution {
public int[] twoSum(int[] nums, int target) {
for (int i = 0 ; i < nums.length;i++ ){
for(int j = i + 1 ; j < nums.length ; j++){
if(nums[j] + nums[i] == target)return new int[]{i , j };
}
}
return null;
}
}
It was 2nd technical round completely based on my resume and coding. The interviewer was very friendly and helpful
1. Introduce yourself
2. Tell me something about your hometown (told about Agra, Uttar Pradesh).
3. Do you read books or watch movies? (Told read books)
4. Which is your favorite book?
5. Tell the story of the book you have read. (told about The 3 Mistakes of My Life written by Chetan Bhagat)
6. Which is your favorite subject? (told DBMS)
7. Are you familiar with a programming language? (told Core Java)
8. What are Database languages?
9. What is the use of the primary key?
10. What is Data Encapsulation?
11. What is Data Abstraction?
12. What is the use of the Super keyword in Java?
13. What is the use of the final keyword in Java?
14. What are the properties of java?
15. What is the local variable and instance variable?
16. What is Method overloading?

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: