Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Capgemini
Software Engineer || Capgemini Exceller 2023-24
Capgemini ยท Mumbai, Pune, Bangalore
Full Time
https://app.joinsuperset.com/join/#/signup/student/jobprofiles/6e4f8e33-c0a0-4348-83af-66cd8aa8ff9e
Software Engineer || Capgemini Exceller 2023-24
Capgemini ยท Mumbai, Pune, Bangalore
Full Time
https://app.joinsuperset.com/join/#/signup/student/jobprofiles/6e4f8e33-c0a0-4348-83af-66cd8aa8ff9e
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐Omnicell is hiring for Engineer I, Software
Experience: 0 - 2 year's
Expected Salary: 9-14 LPA
Apply here: https://www.linkedin.com/jobs/view/4035503619/?alternateChannel=search
Experience: 0 - 2 year's
Expected Salary: 9-14 LPA
Apply here: https://www.linkedin.com/jobs/view/4035503619/?alternateChannel=search
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Smaclify WOW
Intern-Growth | Fresher | Bengaluru
Click this link to view job description and apply. Please share this link if you know someone who would be a good fit for this position.Thank you.
import java.util.TreeSet;
public class Main {
public int TaichiAndLand(int n, int m, int[][] arr, int K) {
int maxSum = Integer.MIN_VALUE;
for (int top = 0; top < n; top++) {
int[] columnSum = new int[m];
for (int bottom = top; bottom < n; bottom++) {
for (int col = 0; col < m; col++) {
columnSum[col] += arr[bottom][col];
}
maxSum = Math.max(maxSum, solve(columnSum, K));
}
}
return maxSum;
}
private int solve(int[] nums, int K) {
int sum = 0;
int maxSum = Integer.MIN_VALUE;
TreeSet<Integer> cc = new TreeSet<>();
cc.add(0);
for (int num : nums) {
sum += num;
Integer prefix = cc.ceiling(sum - K);
if (prefix != null) {
maxSum = Math.max(maxSum, sum - prefix);
}
cc.add(sum);
}
return maxSum;
}
taichi and land โ
Probo(intern)
import java.util.*;
public class Main {
static class DSU {
int[] parent, size;
public DSU(int n) {
parent = new int[n];
size = new int[n];
for (int i = 0; i < n; i++) {
parent[i] = i;
size[i] = 1;
}
}
public int find(int x) {
if (parent[x] != x) {
parent[x] = find(parent[x]);
}
return parent[x];
}
public void union(int x, int y) {
int rootX = find(x);
int rootY = find(y);
if (rootX != rootY) {
if (size[rootX] < size[rootY]) {
parent[rootX] = rootY;
size[rootY] += size[rootX];
} else {
parent[rootY] = rootX;
size[rootX] += size[rootY];
}
}
}
}
public static int solution(int n, int p, int[][] programmers) {
DSU dsu = new DSU(n);
for (int i = 0; i < p; i++) {
int u = programmers[i][0];
int v = programmers[i][1];
dsu.union(u, v);
}
Map<Integer, Integer> componentSize = new HashMap<>();
for (int i = 0; i < n; i++) {
int root = dsu.find(i);
componentSize.put(root, componentSize.getOrDefault(root, 0) + 1);
}
long totalPairs = (long) n * (n - 1) / 2;
for (int size : componentSize.values()) {
totalPairs -= (long) size * (size - 1) / 2;
}
return (int) totalPairs;
}
Contest pair โ
Probo (intern)
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
import java.util.Scanner;
public class ColorChange {
private static void solve(int[][] image, int row, int col, int newColor, int originalColor) {
if (row < 0 || row >= image.length || col < 0 || col >= image[0].length) {
return;
}
if (image[row][col] != originalColor) {
return;
}
image[row][col] = newColor;
solve(image, row + 1, col, newColor, originalColor);
solve(image, row - 1, col, newColor, originalColor);
solve(image, row, col + 1, newColor, originalColor);
solve(image, row, col - 1, newColor, originalColor);
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int rows = scanner.nextInt();
int cols = scanner.nextInt();
int[][] image = new int[rows][cols];
for (int i = 0; i < rows; i++) {
for (int j = 0; j < cols; j++) {
image[i][j] = scanner.nextInt();
}
}
int sourceRow = scanner.nextInt();
int sourceCol = scanner.nextInt();
int newColor = scanner.nextInt();
int originalColor = image[sourceRow][sourceCol];
if (originalColor != newColor) {
solve(image, sourceRow, sourceCol, newColor, originalColor);
}
for (int i = 0; i < rows; i++) {
for (int j = 0; j < cols; j++) {
System.out.print(image[i][j] + " ");
}
System.out.println();
}
scanner.close();
}
}
Changing colour in imageโ
๐1
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
import java.util.Scanner;
public class ClimbingStairs {
public static int countWays(int n) {
if (n == 1) return 1;
if (n == 2) return 2;
int[] dp = new int[n + 1];
dp[1] = 1;
dp[2] = 2;
for (int i = 3; i <= n; i++) {
dp[i] = dp[i - 1] + dp[i - 2];
}
return dp[n];
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int result = countWays(n);
System.out.println(result);
scanner.close();
}
}
Staircase Adventure Court โ
public class ClimbingStairs {
public static int countWays(int n) {
if (n == 1) return 1;
if (n == 2) return 2;
int[] dp = new int[n + 1];
dp[1] = 1;
dp[2] = 2;
for (int i = 3; i <= n; i++) {
dp[i] = dp[i - 1] + dp[i - 2];
}
return dp[n];
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int result = countWays(n);
System.out.println(result);
scanner.close();
}
}
Staircase Adventure Court โ
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
#include<bits/stdc++.h>
using namespace std;
using ll = Long Long;
int mod = 1e9 + 7;
int dp[1000001][2][2][2];
int F(int i, int reqdParity, int currparity, int ended, vector<int> &A) {
if (i < 0) return ended;
if (dp[i][reqdParity][currparity][ended] != -1)
return dp[i][reqdParity][currparity][ended];
int newParity = (currparity + A[i]) % 2;
ll Continue = F(i - 1, reqdParity, newParity, 0, A);
ll EndHere = reqdParity == newParity ? F(i - 1, 1 - newParity, 0, 1, A) : 0;
return dp[i][reqdParity][currparity][ended] = (Continue + EndHere) % mod;
}
int findNumberOfPartitions(int N, vector<int> A) {
memset(dp, -1, sizeof(dp));
return (F(N - 1, 0, 0, 0, A) + F(N - 1, 1, 0, 1, A)) % mod;
}
Number of partitions โ
Oracle
#include <iostream>
#include <vector>
#include <algorithm>
using ll = long long;
using namespace std;
int getMinimumUniqueSum(vector<int> &arr) {
sort(arr.begin(), arr.end());
ll sum = arr[0];
for (int i = 1; i < arr.size(); i++) {
if (arr[i] <= arr[i - 1]) {
arr[i] = arr[i - 1] + 1;
}
sum += arr[i];
}
return sum;
}
PayPal โ
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Google is hiring SWE
For 2022, 2023, 2024 grads
Location: Bangalore
https://www.linkedin.com/posts/hidayat-khan-b188b1155_software-engineer-mobile-android-activity-7244969562650116097-WHmv
For 2022, 2023, 2024 grads
Location: Bangalore
https://www.linkedin.com/posts/hidayat-khan-b188b1155_software-engineer-mobile-android-activity-7244969562650116097-WHmv
Linkedin
Software Engineer, Mobile, Android | Hidayat Khan | 18 comments
hi all,
My team is hiring for L3 SWE position for Bengaluru location.
Please ping me if you have already cleared HC review or if you have good interviewโฆ | 18 comments on LinkedIn
My team is hiring for L3 SWE position for Bengaluru location.
Please ping me if you have already cleared HC review or if you have good interviewโฆ | 18 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name : Expedia
Role : SDE 1
Batch : 2023/2024 passouts
๐ปApply Link : https://careers.expediagroup.com/jobs/job/?Software+Development+Engineer+I-Gurgaon-Haryana-j-R-90893
Role : SDE 1
Batch : 2023/2024 passouts
๐ปApply Link : https://careers.expediagroup.com/jobs/job/?Software+Development+Engineer+I-Gurgaon-Haryana-j-R-90893
Expedia Group | Careers
Jobs - Expedia Group | Careers
We empower you to discover a world of growth and potential, so you can transform travel for all.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Lam Research is hiring for Software Engineer
Experience: 0 - 1 year's
Expected Salary: 10-14 LPA
Apply here: https://careers.lamresearch.com/job/Bangalore-Software-Engineer-1-IN-B/1217484900/?feedId=157600
Experience: 0 - 1 year's
Expected Salary: 10-14 LPA
Apply here: https://careers.lamresearch.com/job/Bangalore-Software-Engineer-1-IN-B/1217484900/?feedId=157600
โค1๐1