Tip 1: Be consistent.
Tip 2: Work on at least 2 projects using different technologies.
Tip 3: Practice important questions, around 200 of them.
Tip 1: Keep it short and precise.
Tip 2: Pay attention to extracurricular activities as well.



Choose a stream of data of size A You have B different types of integers from which you have to select the stream of data. You can select an integer multiple times. A valid combination is a stream of data in which there are exactly C integers that are different from the previous integer in the sequence. You are given integers A B. and C The first Integer in the stream of data is not included among the C integers. Print the number of ways Of selecting a valid combination modulo 998244353.
const int mod=938244353;
int memo(int i,int a,int b,int c,vector>&dp){
if(c<0){
return 0;
}
if(i==a){
if(c==0){
return 1;
}
return 0;
}
int &ans=dp[i][c];
if(ans!=-1){
return ans;
}
ans=0;
ans+=memo(i+1,a,b,c,dp)%mod;
ans%=mod;
ans+=(memo(i+1,a,b,c-1,dp)%mod*(b-1)%mod)%mod;
ans%=mod;
return ans;
}
int sol(int a,int b,int c){
vector>dp(2001,vector(2001,-1));
return (memo(1,a,b,c,dp)*b%mod)%mod;
}

Ankitha enjoys finding new games. One day she found a grid with dimensions and decided to make up a special game to play on it When Ankitha came up with the idea for the new gamer her friend Akhil joined her. She then decided to share and explain the game to him. Akhil is given a grid with dimensions MAN, where each cell contains either 0 or 1. Additionally. he is provided with the coordinates of source and destination cells. You can only move to places whose value is 0. Furthermore, he is given the move rule (x, y) which helps in finding the location for the next move. From the given cell, you can move in four directions (forward, back, right, left), unless they are out of the grid. The rules for finding the next move from a current cell are given below.• For moving forward, add the move rule to the current cell.• For moving right, from the current position add the thGnove rule, rotate the path 90 degrees clockwise,• For moving left, from the current position add the move rule, rotate the path 90 degrees anticlockwise direction.• For moving backwards, from the current position add the move rule, and rotate the path 180 degrees in clock or anti-clockwise. The rules can be understood better from the following example. Let the current cell be (1.1) and the move rule as (1,2)
#include
using namespace std;
bool check(int x,int y, int n, int m, vector> a){
if(x< n && x>= 0 && y< m && y>=0 && a[x][y]== 0){
return true;
}
return false;
}
int main(){
int n, m;
cin>> n>> m;
vector> a(n, vector(m, 0));
for(int i=0;i> a[i][j];
}
}
int sx, sy, dx, dy;
cin>> sx>> sy;
cin>> dx>> dy;
int mx, my;
cin>> mx>> my;
int level = 0;
queue> q;
q.push({sx, sy});
while(!q.empty()){
int sz = q.size();
while(sz--){
auto node = q.front();
q.pop();
int x= node.first, y = node.second;
if(x== dx && y== dy){
cout< return 0;
}
if(check(x+ mx, y+ my, n, m, a)){
q.push({x+ mx, y+ my});
a[x+mx][y+my] = 1;
}
if(check(x+ my, y- mx, n, m, a)){
q.push({x+ my, y- mx});
a[x+my][y-mx] = 1;
}
if(check(x- my, y+ mx, n, m, a)){
q.push({x- my, y+ mx});
a[x-my][y+mx] = 1;
}
if(check(x- mx, y- my, n, m, a)){
q.push({x- mx, y- my});
a[x-mx][y-my] = 1;
}
}
level++;
}
return 0;
}


Let ‘ARR[]’ = [1, 2, -1] and ‘X’ = 1, ’Y’ =2 and ‘Z’ = 1. Then, for each element at index ‘i’ in the ‘ARR’:
For ‘i’ = 0, ‘ARR[0]’ = 1 and after applying the equation as ‘1 * (1 * 1) + 2 * (1) + 1‘ ‘ARR[0]’ becomes 4.
For ‘i’ = 1, ‘ARR[1]’ = 2 and after applying the equation as ‘1 * (2 * 2) + 2 * (2) + 1‘ ‘ARR[1]’ becomes 9 .
For ‘i’ = 2, ‘ARR[2]’ = -1 and after applying the equation as ‘1 * (-1 * -1) + 2 * (-1) + 1‘ ‘ARR[2]’ becomes 0.
So, ‘ARR’ after modification [4, 9, 0]. The final ‘ARR’ after sorting is [0, 4, 9].
The interviewer started with an introduction followed by a simple question on the algorithm. Then I was asked to write a basic code on the OOPS concept. The interviewer was very encouraging and helped me throughout the interview. Also, I was asked a puzzle whose answer made him laugh. After that, I was told to show my project. After this, he asked me how many people are utilizing this website. The interview happened in the afternoon. Overall the interview well really good.



Consider the array {2,1,5,6,3,8} and 'K' = 3, the sorted array will be {8, 6, 5, 3, 2, 1}, and the 3rd largest element will be 5.
1) Kth largest element in an array is the kth element of the array when sorted in non-increasing order.
2) All the elements of the array are pairwise distinct.
Write a class with few methods and attributes.
If a fridge has a light bulb inside which glows when the door is opened. How will you tell whether the light is turning off when the door is closed?
Tip 1: Be confident
Tip 2: Be little joking
Tip 3: Think out of the box solution even if it sounds stupid
This round was a managerial round. Conducted in the afternoon. Lated for only 35 minutes. The interviewer mostly looked over my projects. Also i asked about the copany and the tech stack used.
The interview looked over my live deployed projects.
Tip 1: Keep the project deployed and show the interview.
Tip 2: Keep the code in github to show the codebase.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which keyword is used for inheritance?