Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Durga Gadiraju on LinkedIn: At ITVersity, Inc. we are hiring "Data Engineer Trainees". This will beโฆ | 21 comments
At ITVersity, Inc. we are hiring "Data Engineer Trainees". This will be free training for 6 months for CS/IT Students to 1 year for non CS/IT Students.
Hereโฆ | 21 comments on LinkedIn
Hereโฆ | 21 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Prakriti Kumari on LinkedIn: Hiring for React Developer Trainee
Taction Software Private Limitedโฆ | 101 comments
Taction Software Private Limitedโฆ | 101 comments
Hiring for React Developer Trainee
Taction Software Private Limited
Looking for freshers
Responsibilities:-
Meeting with the development team to discussโฆ | 101 comments on LinkedIn
Taction Software Private Limited
Looking for freshers
Responsibilities:-
Meeting with the development team to discussโฆ | 101 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Autodraft is hiring SDE
For 2023, 2022 grads
Expected CTC - 12LPA - 20LPA
Apply - https://wellfound.com/jobs/3040061-software-engineer
For 2023, 2022 grads
Expected CTC - 12LPA - 20LPA
Apply - https://wellfound.com/jobs/3040061-software-engineer
Wellfound (formerly AngelList Talent)
Software Engineer at Autodraft โข Bengaluru
Autodraft is hiring a Software Engineer in Bengaluru - Apply now on Wellfound!
#include<bits/stdc++.h>
#define ll long long
using namespace std;
ll sum=0,cnt1=0;
ll dfs1(ll node,vector<ll>adj[],vector<ll>& vis) {
vis[node]=1;
for(auto &it:adj[node])
{
if(!vis[it]) dfs1(it, adj, vis);
}
sum+=node;
cnt1++;
}
ll dfs(ll node,vector<ll>adj[],vector<ll>&vis,stack<ll>& st) {
vis[node]=1;
for(auto &it:adj[node])
{
if(!vis[it]) dfs(it, adj, vis, st);
}
st.push(node);
}
ll solve(ll N,vector<ll> Edge)
{
vector<ll>adj[N];
for(ll i=0;i<N;i++)
{
ll u=i;
ll v=Edge[i];
if(v!=-1) adj[u].push_back(v);
}
vector<ll>vis(N+1);
stack<ll>st;
for(ll i=0;i<N;i++)
{
if(!vis[i]) dfs(i,adj,vis,st);
}
vector<ll>adj1[N];
for(ll i=0;i<N;i++)
{
vis[i]=0;
for(auto &it:adj[i]) {
adj1[it].push_back(i);
}
}
ll ans=0,cnt=0;
while(st.size())
{
ll node=st.top();
st.pop();
if(!vis[node])
{
sum=0;
cnt++;
cnt1=0;
dfs1(node, adj1, vis);
}
if(cnt1>1) ans=max(ans, sum);
}
if(cnt==N) return -1;
return ans;
}
signed main() {
ll t; cin >> t;
while(t--)
{
ll n; cin>>n;
vector<ll>a(n);
for(ll i=0;i<n;i++) cin>>a[i];
cout<<solve(n,a)<<endl;
}
return 0;
}
Largest sum Cycle
Juspay โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Flipkart
Role: SDE-1 & UI-1
Batch: 2024 Female passouts
CTC Overview: 32.57 LPA (18 Lakh Base pay, 10% variable, ESOPs worth 5 lakhs; Joining Bonus: 3 lakhs & Retention Bonus 3 Lakhs - detailed comp breakup will be shared with candidates shortlisted for online test
https://docs.google.com/forms/d/e/1FAIpQLSdITyHEhZ3W0Rdtd7fuRfIdlk8UyZa2yAIimfb2_w9XpLT9NQ/viewform?usp=sf_link
Role: SDE-1 & UI-1
Batch: 2024 Female passouts
CTC Overview: 32.57 LPA (18 Lakh Base pay, 10% variable, ESOPs worth 5 lakhs; Joining Bonus: 3 lakhs & Retention Bonus 3 Lakhs - detailed comp breakup will be shared with candidates shortlisted for online test
https://docs.google.com/forms/d/e/1FAIpQLSdITyHEhZ3W0Rdtd7fuRfIdlk8UyZa2yAIimfb2_w9XpLT9NQ/viewform?usp=sf_link
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
#include <iostream> #include <vector> #include <algorithm> using namespace std; class Solution { public: int maxSumOptimalArrangement(vector<int>& coins) { vector<int> positive; vector<int> negative; for (int coin : coins) {โฆ
Circuit Board โ
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int t = scanner.nextInt();
for (int i = 0; i < t; i++) {
int n = scanner.nextInt();
int[][] matrix = new int[n][n];
for (int j = 0; j < n; j++) {
for (int k = 0; k < n; k++) {
matrix[j][k] = scanner.nextInt();
}
}
System.out.println(maxTrace(matrix));
}
}
public static int maxTrace(int[][] matrix) {
int n = matrix.length;
int maxTrace = Integer.MIN_VALUE;
for (int l = 1; l <= n; l++) {
for (int r = 0; r <= n - l; r++) {
for (int c = 0; c <= n - l; c++) {
int trace = 0;
for (int i = 0; i < l; i++) {
trace += matrix[r + i][c + i];
}
maxTrace = Math.max(maxTrace, trace);
}
}
}
return maxTrace;
}
}
Matrix Trace Challenge โ
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int t = scanner.nextInt();
for (int i = 0; i < t; i++) {
int n = scanner.nextInt();
int[][] matrix = new int[n][n];
for (int j = 0; j < n; j++) {
for (int k = 0; k < n; k++) {
matrix[j][k] = scanner.nextInt();
}
}
System.out.println(maxTrace(matrix));
}
}
public static int maxTrace(int[][] matrix) {
int n = matrix.length;
int maxTrace = Integer.MIN_VALUE;
for (int l = 1; l <= n; l++) {
for (int r = 0; r <= n - l; r++) {
for (int c = 0; c <= n - l; c++) {
int trace = 0;
for (int i = 0; i < l; i++) {
trace += matrix[r + i][c + i];
}
maxTrace = Math.max(maxTrace, trace);
}
}
}
return maxTrace;
}
}
Matrix Trace Challenge โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Hiring for Management Trainees - MBA Passouts (2023-2024 batch)
Location -Central Park Gurgaon Sector 48
Share your CV with me - talent@centralpark.in
Gurgaon candidates will be preferred.
Sound technical knowledge, sincere, hardworking and analytical.
Should be proficient in use of Microsoft Office - Word, Excel and PowerPoint.
Must be good in written and spoken English.
Location -Central Park Gurgaon Sector 48
Share your CV with me - talent@centralpark.in
Gurgaon candidates will be preferred.
Sound technical knowledge, sincere, hardworking and analytical.
Should be proficient in use of Microsoft Office - Word, Excel and PowerPoint.
Must be good in written and spoken English.
Cisco Ideathon All Answersโ
1. #
2. def
3. [1], [2], [1,3]
4. [4,3,2,1]
5. [1,3,5]
6. List comprehension is a concise way to create a new list based on an existing iterable, while a for loop can be used for various operations
7. Both b and c
8. True, False
9. VLAN - All of the above
10. IP - Address
11. Internet Backbone
12. Aggregation, Access
13. To put the interface into forwarding state immediately, bypassing the listening and learning states.
14. Partial mesh topology
15. The next hop self command allows an IBGP ...
16. IP Phone and Access Points
17. Events
18. It allows the attacker to intercept and manipulate network traffic.
19. The DHCP server that responds first
20. It indicates the best part to reach the destination network.
21. Supported Versions
22. LOCAL_PREF
23. SSID
24. BPDU Filter
25. Switch
26. NA
27. Use NAT Protocol Translation
28. Non broadcast multi access
29. discarding
30. NAT64 is used to translate IPv6 addresses to IPv4 addresses for communication between IPv6-only and IPv4-only hosts.
31. Encryption and MIC with AES and GCMP
32. Packet 5 arrived ...
33. All of them
34. High amount of output
35. IGP
36. 255
37. Activity Tracking and Access Approval
38. Area id
39. Command
40. Ssl and Http
41. Network tap
42. Design to filter
43. Interceptinf and decrypt
44. Engery
45. 12
46. 4.54
47. 3
48. C
49. QOS
50. 37
51. It enables router to forward to IPv6 packets.
52. BGP sync ensured that a router ... its IGP
53. Inverse Query
54. Server virtualisation
55. Administrative distance is a measure ... route.
1. #
2. def
3. [1], [2], [1,3]
4. [4,3,2,1]
5. [1,3,5]
6. List comprehension is a concise way to create a new list based on an existing iterable, while a for loop can be used for various operations
7. Both b and c
8. True, False
9. VLAN - All of the above
10. IP - Address
11. Internet Backbone
12. Aggregation, Access
13. To put the interface into forwarding state immediately, bypassing the listening and learning states.
14. Partial mesh topology
15. The next hop self command allows an IBGP ...
16. IP Phone and Access Points
17. Events
18. It allows the attacker to intercept and manipulate network traffic.
19. The DHCP server that responds first
20. It indicates the best part to reach the destination network.
21. Supported Versions
22. LOCAL_PREF
23. SSID
24. BPDU Filter
25. Switch
26. NA
27. Use NAT Protocol Translation
28. Non broadcast multi access
29. discarding
30. NAT64 is used to translate IPv6 addresses to IPv4 addresses for communication between IPv6-only and IPv4-only hosts.
31. Encryption and MIC with AES and GCMP
32. Packet 5 arrived ...
33. All of them
34. High amount of output
35. IGP
36. 255
37. Activity Tracking and Access Approval
38. Area id
39. Command
40. Ssl and Http
41. Network tap
42. Design to filter
43. Interceptinf and decrypt
44. Engery
45. 12
46. 4.54
47. 3
48. C
49. QOS
50. 37
51. It enables router to forward to IPv6 packets.
52. BGP sync ensured that a router ... its IGP
53. Inverse Query
54. Server virtualisation
55. Administrative distance is a measure ... route.
#include <iostream>
#include <vector>
#include <algorithm>
#include <climits>
using namespace std;
int solve(int i, vector<int>& lst, int ad, const vector<int>& machineCount, const vector<int>& finalMachineCount, int shiftingCost) {
int n = machineCount.size();
if (i == n) {
int res = ad;
for (int k = 0; k < 3; ++k) {
res += abs(lst[k] - finalMachineCount[k]);
}
return res;
}
int res = INT_MAX;
res = min(res, solve(i + 1, lst, ad, machineCount, finalMachineCount, shiftingCost));
for (int j = 0; j < 3; ++j) {
lst[j] += machineCount[i];
if (lst[j] - machineCount[i] != 0) {
res = min(res, solve(i + 1, lst, ad + shiftingCost, machineCount, finalMachineCount, shiftingCost));
} else {
res = min(res, solve(i + 1, lst, ad, machineCount, finalMachineCount, shiftingCost));
}
lst[j] -= machineCount[i];
}
return res;
}
int getMinimumCost(const vector<int>& machineCount, const vector<int>& finalMachineCount, int shiftingCost) {
vector<int> lst(3, 0);
return solve(0, lst, 0, machineCount, finalMachineCount, shiftingCost);
}
int main() {
vector<int> machineCount = { /* your values here */ };
vector<int> finalMachineCount = { /* your values here */ };
int shiftingCost = /* your value here */;
cout << getMinimumCost(machineCount, finalMachineCount, shiftingCost) << endl;
return 0;
}
GetminimumCost โ
#include <vector>
#include <algorithm>
#include <climits>
using namespace std;
int solve(int i, vector<int>& lst, int ad, const vector<int>& machineCount, const vector<int>& finalMachineCount, int shiftingCost) {
int n = machineCount.size();
if (i == n) {
int res = ad;
for (int k = 0; k < 3; ++k) {
res += abs(lst[k] - finalMachineCount[k]);
}
return res;
}
int res = INT_MAX;
res = min(res, solve(i + 1, lst, ad, machineCount, finalMachineCount, shiftingCost));
for (int j = 0; j < 3; ++j) {
lst[j] += machineCount[i];
if (lst[j] - machineCount[i] != 0) {
res = min(res, solve(i + 1, lst, ad + shiftingCost, machineCount, finalMachineCount, shiftingCost));
} else {
res = min(res, solve(i + 1, lst, ad, machineCount, finalMachineCount, shiftingCost));
}
lst[j] -= machineCount[i];
}
return res;
}
int getMinimumCost(const vector<int>& machineCount, const vector<int>& finalMachineCount, int shiftingCost) {
vector<int> lst(3, 0);
return solve(0, lst, 0, machineCount, finalMachineCount, shiftingCost);
}
int main() {
vector<int> machineCount = { /* your values here */ };
vector<int> finalMachineCount = { /* your values here */ };
int shiftingCost = /* your value here */;
cout << getMinimumCost(machineCount, finalMachineCount, shiftingCost) << endl;
return 0;
}
GetminimumCost โ