Xiaomi is hiring
Position: Ode2Code
๐ Apply: https://www.hackerearth.com/challenges/hackathon/ode2code-20/
๐ All the best.
Position: Ode2Code
๐ Apply: https://www.hackerearth.com/challenges/hackathon/ode2code-20/
๐ All the best.
// Search a 2D Matrix II
class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
int n=matrix.size();
int m=matrix[0].size();
int i=0,j=m-1;
while(i<n and j>0){
if(matrix[i][j]==target){
return true;
}else if(matrix[i][j]>target){
j--;
}else{
i++;
}
}
return false;
}
};
//C++โ
class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
int n=matrix.size();
int m=matrix[0].size();
int i=0,j=m-1;
while(i<n and j>0){
if(matrix[i][j]==target){
return true;
}else if(matrix[i][j]>target){
j--;
}else{
i++;
}
}
return false;
}
};
//C++โ
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ pinned ยซhttps://leetcode.com/problems/search-a-2d-matrix-ii/description/ยป
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ pinned ยซ// Search a 2D Matrix II class Solution { public: bool searchMatrix(vector<vector<int>>& matrix, int target) { int n=matrix.size(); int m=matrix[0].size(); int i=0,j=m-1; while(i<n and j>0){ if(matrix[i][j]==target){โฆยป
Wiley Edge is hiring
Position: Java Developer
๐ Apply: https://edgejobs.wiley.com/en/position/graduate-java-developer-mumbai-0-1-year-experience-mumbai-maharashtra-india
๐ All the best.
Position: Java Developer
๐ Apply: https://edgejobs.wiley.com/en/position/graduate-java-developer-mumbai-0-1-year-experience-mumbai-maharashtra-india
๐ All the best.
Cisco is hiring
Position: Q&A Engineer
๐ Apply: https://jobs.cisco.com/jobs/ProjectDetail/Software-Engineer-Quality-and-Operations-Intern-India-UHR/1375533
๐ All the best.
Position: Q&A Engineer
๐ Apply: https://jobs.cisco.com/jobs/ProjectDetail/Software-Engineer-Quality-and-Operations-Intern-India-UHR/1375533
๐ All the best.
General tips
Always validate input first. Check for inputs that are invalid, empty, negative, or different. Never assume you are given the valid parameters. Alternatively, clarify with the interviewer whether you can assume valid input (usually yes), which can save you time from writing code that does input validation.
Are there any time and space complexities requirements or constraints?
Check for off-by-one errors.
In languages where there are no automatic type coercion, check that concatenation of values are of the same type: int,str, and list.
After you finish your code, use a few example inputs to test your solution.
Is the algorithm supposed to run multiple times, perhaps on a web server? If yes, the input can likely be pre-processed to improve the efficiency in each API call.
Use a mix of functional and imperative programming paradigms:
๐น Write pure functions as often as possible.
๐น Use pure functions because they are easier to reason with and can help reduce bugs in your implementation.
๐น Avoid mutating the parameters passed into your function, especially if they are passed by reference, unless you are sure of what you are doing.
๐น Achieve a balance between accuracy and efficiency. Use the right amount of functional and imperative code where appropriate. Functional programming is usually expensive in terms of space complexity because of non-mutation and the repeated allocation of new objects. On the other hand, imperative code is faster because you operate on existing objects.
๐น Avoid relying on mutating global variables. Global variables introduce state.
๐น Make sure that you do not accidentally mutate global variables, especially if you have to rely on them.
Always validate input first. Check for inputs that are invalid, empty, negative, or different. Never assume you are given the valid parameters. Alternatively, clarify with the interviewer whether you can assume valid input (usually yes), which can save you time from writing code that does input validation.
Are there any time and space complexities requirements or constraints?
Check for off-by-one errors.
In languages where there are no automatic type coercion, check that concatenation of values are of the same type: int,str, and list.
After you finish your code, use a few example inputs to test your solution.
Is the algorithm supposed to run multiple times, perhaps on a web server? If yes, the input can likely be pre-processed to improve the efficiency in each API call.
Use a mix of functional and imperative programming paradigms:
๐น Write pure functions as often as possible.
๐น Use pure functions because they are easier to reason with and can help reduce bugs in your implementation.
๐น Avoid mutating the parameters passed into your function, especially if they are passed by reference, unless you are sure of what you are doing.
๐น Achieve a balance between accuracy and efficiency. Use the right amount of functional and imperative code where appropriate. Functional programming is usually expensive in terms of space complexity because of non-mutation and the repeated allocation of new objects. On the other hand, imperative code is faster because you operate on existing objects.
๐น Avoid relying on mutating global variables. Global variables introduce state.
๐น Make sure that you do not accidentally mutate global variables, especially if you have to rely on them.
๐ฑ1
What is the name of the method used to start a thread execution ?
Anonymous Quiz
14%
int();
43%
start();
36%
run();
7%
resume();
โ๏ธGreat news for Programmersโ๏ธ
We have created a separate channel to help you guys prepare for the coding interviews.
We will provide practice questions with solutions and study material to crack coding interviews
Join fast
๐๐
@crackingthecodinginterviews
We have created a separate channel to help you guys prepare for the coding interviews.
We will provide practice questions with solutions and study material to crack coding interviews
Join fast
๐๐
@crackingthecodinginterviews
๐1
KPMG is hiring
Position: Analyst
๐ Apply: https://aa046.taleo.net/careersection/ex/jobdetail.ftl?job=59282
๐ All the best.
Position: Analyst
๐ Apply: https://aa046.taleo.net/careersection/ex/jobdetail.ftl?job=59282
๐ All the best.
โ๏ธByjus Off Campus Drive 2022 | Any Graduate | Freshers | 0-3 Yrs | Across Indiaโ๏ธ
๐จโ๐ป Job Profile : Business Development Associate
๐ Qualification : Any Graduate
๐ Batch : 2015-2022
๐ฐ Salary : 10 LPA
https://byjus.ripplehire.com/candidate/?token=XcVWEpf8QTc6d02ZgVUb&lang=en#detail
โ Share with your friends
๐จโ๐ป Job Profile : Business Development Associate
๐ Qualification : Any Graduate
๐ Batch : 2015-2022
๐ฐ Salary : 10 LPA
https://byjus.ripplehire.com/candidate/?token=XcVWEpf8QTc6d02ZgVUb&lang=en#detail
โ Share with your friends
Ripplehire
Byjus Careers | Latest jobs at Byjus - Ripplehire.com
Apply Now! This is a wonderful opportunity. Help your friends by sharing this role with them.
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ pinned ยซโ๏ธByjus Off Campus Drive 2022 | Any Graduate | Freshers | 0-3 Yrs | Across Indiaโ๏ธ ๐จโ๐ป Job Profile : Business Development Associate ๐ Qualification : Any Graduate ๐ Batch : 2015-2022 ๐ฐ Salary : 10 LPA https://byjus.ripplehire.com/candidate/?token=XcVWEpโฆยป
โ๏ธVolvo Off Campus Drive 2022 | Freshers | Graduate Engineer | BE/ B.Tech | Bangaloreโ๏ธ
๐จโ๐ป Job Role : Graduate Engineers
๐ Qualification : B.E/B.Tech
๐ Batch : 2020, 2021 & 2022
๐ฐ CTC : 7.5 LPA-10 LPA
Apply Here
โ Share with your friends
๐จโ๐ป Job Role : Graduate Engineers
๐ Qualification : B.E/B.Tech
๐ Batch : 2020, 2021 & 2022
๐ฐ CTC : 7.5 LPA-10 LPA
Apply Here
โ Share with your friends