π―Amazon off Campus Drive 2024 Hiring Freshers As Associate Quality Services | 2.52-4 LPA
Job Role : Associate Quality Services
Qualification : BE/BTech/MCA/BSc/BCA/MSc
Experience : Freshers
Salary CTC : Rs 2.52-4 LPA
Apply Now:- www.allcoding1.com
Telegram:- @allcoding1_official
Job Role : Associate Quality Services
Qualification : BE/BTech/MCA/BSc/BCA/MSc
Experience : Freshers
Salary CTC : Rs 2.52-4 LPA
Apply Now:- www.allcoding1.com
Telegram:- @allcoding1_official
π9
#include <bits/stdc++.h>
#define ll long long
using namespace std;
ll solve(ll k, ll s) {
auto comb = [](ll n) {
return n * (n - 1) / 2;
};
if (k > 3 * s) return 0;
ll ans = comb(k + 2);
if (k > s) ans -= 3 * comb(k - s + 1);
if (k - 2 >= 2 * s) ans += 3 * comb(k - 2 * s);
return ans;
}
int main() {
ll n, s;
cin >> n >> s;
cout << solve(s,n) << endl;
return 0;
}
Distribute Car Toy
Service Now β
Telegram:- @allcoding1_official
#define ll long long
using namespace std;
ll solve(ll k, ll s) {
auto comb = [](ll n) {
return n * (n - 1) / 2;
};
if (k > 3 * s) return 0;
ll ans = comb(k + 2);
if (k > s) ans -= 3 * comb(k - s + 1);
if (k - 2 >= 2 * s) ans += 3 * comb(k - 2 * s);
return ans;
}
int main() {
ll n, s;
cin >> n >> s;
cout << solve(s,n) << endl;
return 0;
}
Distribute Car Toy
Service Now β
Telegram:- @allcoding1_official
π14
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<vector<int>> freq(n, vector<int> (26, 0));
string s;
for(int i = 0; i < n; i++) {
string s;
cin >> s;
for(auto &ch : s)
freq[i][ch - 'a']++;
}
long long ans = 0;
for(int i = 0; i < 26; i++) {
int minValue = INT_MAX;
for(int j = 0; j < n; j++)
minValue = min(minValue, freq[j][i]);
ans += minValue;
}
cout << ans << endl;
}
Service Now β
Telegram:- @allcoding1_official
using namespace std;
int main() {
int n;
cin >> n;
vector<vector<int>> freq(n, vector<int> (26, 0));
string s;
for(int i = 0; i < n; i++) {
string s;
cin >> s;
for(auto &ch : s)
freq[i][ch - 'a']++;
}
long long ans = 0;
for(int i = 0; i < 26; i++) {
int minValue = INT_MAX;
for(int j = 0; j < n; j++)
minValue = min(minValue, freq[j][i]);
ans += minValue;
}
cout << ans << endl;
}
Service Now β
Telegram:- @allcoding1_official
π8π1
int getMinOperations(vector<int> arr) {
int n=arr.size();
int operations = 0;
for (int i = 1; i < n - 1; i++)
{
if (arr[i] < 0 && arr[i - 1] < 0)
{
arr[i] = 1e9;
operations++;
}
else if (arr[i] < 0 && arr[i - 1] > 0 && arr[i + 1] > 0)
{
if ((arr[i] + arr[i - 1] < 0) || (arr[i] + arr[i + 1] < 0))
{
arr[i] = 1e9;
operations++;
}
}
}
return operations;
}
Make The Array Postive β
Telegram:- @allcoding1_official
int n=arr.size();
int operations = 0;
for (int i = 1; i < n - 1; i++)
{
if (arr[i] < 0 && arr[i - 1] < 0)
{
arr[i] = 1e9;
operations++;
}
else if (arr[i] < 0 && arr[i - 1] > 0 && arr[i + 1] > 0)
{
if ((arr[i] + arr[i - 1] < 0) || (arr[i] + arr[i + 1] < 0))
{
arr[i] = 1e9;
operations++;
}
}
}
return operations;
}
Make The Array Postive β
Telegram:- @allcoding1_official
π8
#include<bits/stdc++.h>
using namespace std;
void dfs(int node, vector<int>& vis, vector<vector<int>>& adj) {
vis[node] = 1;
for(auto it : adj[node]) {
if(!vis[it]) {
dfs(it, vis, adj);
}
}
}
int main() {
int n, m;
cin >> n >> m;
vector<vector<int>> adj(n);
for(int i = 0; i < n; i++) {
for(int j = 0; j < m; j++) {
int x;
cin >> x;
if(x == 1) {
adj[i].push_back(j);
adj[j].push_back(i);
}
}
}
vector<int> vis(n, 0);
int cc = 0;
for(int i = 0; i < n; i++) {
if(!vis[i]) {
dfs(i, vis, adj);
cc++;
}
}
cout << cc << endl;
return 0;
}
Telegram:- @allcoding1_official
using namespace std;
void dfs(int node, vector<int>& vis, vector<vector<int>>& adj) {
vis[node] = 1;
for(auto it : adj[node]) {
if(!vis[it]) {
dfs(it, vis, adj);
}
}
}
int main() {
int n, m;
cin >> n >> m;
vector<vector<int>> adj(n);
for(int i = 0; i < n; i++) {
for(int j = 0; j < m; j++) {
int x;
cin >> x;
if(x == 1) {
adj[i].push_back(j);
adj[j].push_back(i);
}
}
}
vector<int> vis(n, 0);
int cc = 0;
for(int i = 0; i < n; i++) {
if(!vis[i]) {
dfs(i, vis, adj);
cc++;
}
}
cout << cc << endl;
return 0;
}
Telegram:- @allcoding1_official
π3
void solve(string x){
ll n = x.size();
vector<vector<ll>> dp(n,vector<ll>(n,0));
for(ll i=0;i<n;i++){
dp[i][i] = 1;
}
for(ll k=1;k<n;k++){
for(ll i=0;i<n-k;i++){
ll j = i + k;
if(x[i]==x[j]){
dp[i][j] = 2 + dp[i+1][j-1];
} else{
dp[i][j] = max(dp[i][j-1],dp[i+1][j]);
}
}
}
ll ans = 0;
for(ll i=0;i<n;i++){
for(ll j=0;j<n-1;j++){
ans = max(ans,dp[i][j]*dp[j+1][n-1]);
}
}
cout<<ans;
}
Type According to write function
Game of subsequence reverse
Appleβ
Telegram:-@allcoding1_official
ll n = x.size();
vector<vector<ll>> dp(n,vector<ll>(n,0));
for(ll i=0;i<n;i++){
dp[i][i] = 1;
}
for(ll k=1;k<n;k++){
for(ll i=0;i<n-k;i++){
ll j = i + k;
if(x[i]==x[j]){
dp[i][j] = 2 + dp[i+1][j-1];
} else{
dp[i][j] = max(dp[i][j-1],dp[i+1][j]);
}
}
}
ll ans = 0;
for(ll i=0;i<n;i++){
for(ll j=0;j<n-1;j++){
ans = max(ans,dp[i][j]*dp[j+1][n-1]);
}
}
cout<<ans;
}
Type According to write function
Game of subsequence reverse
Appleβ
Telegram:-@allcoding1_official
π1
int solve(vector<int>& nums) {
vector<int> s(nums);
sort(s.begin(), s.end());
int i = 0, j = nums.size() - 1;
while (i < nums.size() && nums[i] == s[i]) {
i++;
}
while (j > i && nums[j] == s[j]) {
j--;
}
return j - i + 1;
}
Arrange the heights
Apple β
Telegram:- @allcoding1_official
vector<int> s(nums);
sort(s.begin(), s.end());
int i = 0, j = nums.size() - 1;
while (i < nums.size() && nums[i] == s[i]) {
i++;
}
while (j > i && nums[j] == s[j]) {
j--;
}
return j - i + 1;
}
Arrange the heights
Apple β
Telegram:- @allcoding1_official
π3
def count(a, X):
a.sort()
ans = 0
n = len(a)
for i in range(n):
if (i < n // 2):
ans += max(0, a[i] - X)
elif (i == n // 2):
ans += abs(X - a[i])
else:
ans += max(0, X - a[i]);
return ans
IBM
Telegram:- @allcoding1_official
a.sort()
ans = 0
n = len(a)
for i in range(n):
if (i < n // 2):
ans += max(0, a[i] - X)
elif (i == n // 2):
ans += abs(X - a[i])
else:
ans += max(0, X - a[i]);
return ans
IBM
Telegram:- @allcoding1_official
π4β€1
π―Cognizant Off Campus Hiring | Data Analyst β Fresher | Upto 7.5 LPA
Job Role Data Analyst
Qualification B.E/B.Tech
Batch Any Batch
CTC/Salary Upto 7.5 LPA
Apply Now:- www.allcoding1.com
Telegram:- @allcoding1_official
Job Role Data Analyst
Qualification B.E/B.Tech
Batch Any Batch
CTC/Salary Upto 7.5 LPA
Apply Now:- www.allcoding1.com
Telegram:- @allcoding1_official
π6β€βπ₯1
π―Deloitte National Level Hiring 2024 As Analyst Trainee | 4-8 LPA
Job Role Analyst Trainee
Qualification BE, B Tech, ME, M Tech, MCA
Location PAN India
Salary 4-8 LPA
Apply Now:- www.allcoding1.com
Telegram:- @allcoding1_official
Job Role Analyst Trainee
Qualification BE, B Tech, ME, M Tech, MCA
Location PAN India
Salary 4-8 LPA
Apply Now:- www.allcoding1.com
Telegram:- @allcoding1_official
π8β€βπ₯2
π―Wipro Recruitment 2024 For Banking Operations
Location: Chennai
Qualification: Any Graduate
Work Experience: Freshers / Experience
Apply Now:- www.allcoding1.com
Telegram:- @allcoding1_official
Location: Chennai
Qualification: Any Graduate
Work Experience: Freshers / Experience
Apply Now:- www.allcoding1.com
Telegram:- @allcoding1_official
π7
long long OneBlock(int N, vector<int> Arr) {
vector<int> one_indices;
for (int i = 0; i < N; ++i) {
if (Arr[i] == 1) {
one_indices.push_back(i);
}
}
if (one_indices.size() <= 1) {
return 1;
}
long long ways = 1;
for (int i = 1; i < one_indices.size(); ++i) {
int zeros_between_ones = one_indices[i] - one_indices[i - 1] - 1;
ways *= (zeros_between_ones + 1);
}
return ways;
}
//one block
C++
Telegram:- @allcoding1_official
vector<int> one_indices;
for (int i = 0; i < N; ++i) {
if (Arr[i] == 1) {
one_indices.push_back(i);
}
}
if (one_indices.size() <= 1) {
return 1;
}
long long ways = 1;
for (int i = 1; i < one_indices.size(); ++i) {
int zeros_between_ones = one_indices[i] - one_indices[i - 1] - 1;
ways *= (zeros_between_ones + 1);
}
return ways;
}
//one block
C++
Telegram:- @allcoding1_official
π4β€1
def PowerLimit(a, b):
current_resource, max_seconds = 1, 0
while a > 0 and b > 0:
if a > b:
current_resource, a, b = 1, a - 2, b + 1
else:
current_resource, b, a = 2, b - 2, a + 1
max_seconds += 1
max_seconds += a // 2 if current_resource == 1 else b // 2
return max_seconds
power limit β
Telegram:- @allcoding1_official
current_resource, max_seconds = 1, 0
while a > 0 and b > 0:
if a > b:
current_resource, a, b = 1, a - 2, b + 1
else:
current_resource, b, a = 2, b - 2, a + 1
max_seconds += 1
max_seconds += a // 2 if current_resource == 1 else b // 2
return max_seconds
power limit β
Telegram:- @allcoding1_official
π3
Meesho extended there exam date
And calling students to virtual interview based on there exam dates
Company name : MEESHO Role: BUSINESS ANALYST
Apply Now:- https://docs.google.com/forms/d/e/1FAIpQLSc3DvqJDjZeYjFZX2OgVPwm5shjCX4a0APzYBaTBoPzTf4khg/viewform?pli=1
While applying make sure in your CV mention python and sql.
Telegram:- @allcoding1_official
And calling students to virtual interview based on there exam dates
Company name : MEESHO Role: BUSINESS ANALYST
Apply Now:- https://docs.google.com/forms/d/e/1FAIpQLSc3DvqJDjZeYjFZX2OgVPwm5shjCX4a0APzYBaTBoPzTf4khg/viewform?pli=1
While applying make sure in your CV mention python and sql.
Telegram:- @allcoding1_official
π13π3
π―Harmonic Off Campus Drive 2024 for Associate Software Engineer | 4 LPA
Job Role : Associate Software Engineer
Qualification : B.E/B.Tech
Batch : 2023
Salary : 4 LPA*
Apply now
https://jobs.jobvite.com/harmonic/job/okzUqfwX?nl=1&fr=true
Telegram:- @allcoding1_official
Job Role : Associate Software Engineer
Qualification : B.E/B.Tech
Batch : 2023
Salary : 4 LPA*
Apply now
https://jobs.jobvite.com/harmonic/job/okzUqfwX?nl=1&fr=true
Telegram:- @allcoding1_official
Company Name: Zoho
Role: Software Developer
Batch eligible: 2022, 2023 and 2024 passouts
Apply: https://careers.zohocorp.com/forms/fcc89b5ebd373d598e0224d10f2199d1a8839a1914d1ba3a141e0b0ddcfcfc32
Telegram:- @allcoding1_official
Role: Software Developer
Batch eligible: 2022, 2023 and 2024 passouts
Apply: https://careers.zohocorp.com/forms/fcc89b5ebd373d598e0224d10f2199d1a8839a1914d1ba3a141e0b0ddcfcfc32
Telegram:- @allcoding1_official
π1
π―Tech Mahindra off Campus Hiring As Associate Software Engineer | Rs.3.25 LPA & 5.5LPA
Designation : Associate Software Engineer
Eligibility : Engineering / MCA
Salary CTC : Rs.3.25 LPA & 5.5LPA (for super coders)
Apply Now:-
https://registration.techmahindra.com/Candidate/RegDefault.aspx
Telegram:- @allcoding1_official
Designation : Associate Software Engineer
Eligibility : Engineering / MCA
Salary CTC : Rs.3.25 LPA & 5.5LPA (for super coders)
Apply Now:-
https://registration.techmahindra.com/Candidate/RegDefault.aspx
Telegram:- @allcoding1_official
π5π1
π―HSBC Recruitment 2024 For Data Analyst
Location: Bangalore
Qualification: Bachelorβs / Masterβs Degree
Work Experience: Freshers / Experience
Apply now:-
https://mycareer.hsbc.com/en_GB/external/PipelineDetail/Analyst-Data-Governance-GSC-S/216031?source=jobscoupe.com
Telegram:- @allcoding1_official
Location: Bangalore
Qualification: Bachelorβs / Masterβs Degree
Work Experience: Freshers / Experience
Apply now:-
https://mycareer.hsbc.com/en_GB/external/PipelineDetail/Analyst-Data-Governance-GSC-S/216031?source=jobscoupe.com
Telegram:- @allcoding1_official
π2
π―ICICI Bank Recruitment 2024 For Phone Banking Officer
Location: Chennai / Hyderabad / Thane / Guwahati / Indore
Qualification: Any Graduate
Work Experience : 0 β 6 Years
Apply Now:-
https://www.icicicareers.com/website/Jobs/Hot-Jobs/2031018.html?utm_source=jobscoupe.com
Telegram:- @allcoding1_official
Location: Chennai / Hyderabad / Thane / Guwahati / Indore
Qualification: Any Graduate
Work Experience : 0 β 6 Years
Apply Now:-
https://www.icicicareers.com/website/Jobs/Hot-Jobs/2031018.html?utm_source=jobscoupe.com
Telegram:- @allcoding1_official
π3