Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Wipro Ltd
Wipro Ltd invites you to Superset to apply
for its Elite Exclusive Hiring 2024 position.
Complete the registration and apply!
Deadline to Apply: Sep 30, 2024 11:59 PM
https://app.joinsuperset.com/join/#/signup/student?jp=fd4be287-c8d5-4ace-ac26-6875ca63bc34
Wipro Ltd invites you to Superset to apply
for its Elite Exclusive Hiring 2024 position.
Complete the registration and apply!
Deadline to Apply: Sep 30, 2024 11:59 PM
https://app.joinsuperset.com/join/#/signup/student?jp=fd4be287-c8d5-4ace-ac26-6875ca63bc34
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Mediaocean
Role: Associate Software Engineer
YOE: 0-2 years
Apply: https://jobs.lever.co/mediaocean/b746f449-e4fc-4c0e-add1-01dd4758be39/
Role: Associate Software Engineer
YOE: 0-2 years
Apply: https://jobs.lever.co/mediaocean/b746f449-e4fc-4c0e-add1-01dd4758be39/
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: NTT
Role: Associate DevOps Engineer
Batch eligible: 2023 and 2024 grads
Apply: https://nttamericasolutions.dejobs.org/hyderabad-ind/associate-devops-engineer/3063B278462B4E81B31F775CB66F96A2/job/
Role: Associate DevOps Engineer
Batch eligible: 2023 and 2024 grads
Apply: https://nttamericasolutions.dejobs.org/hyderabad-ind/associate-devops-engineer/3063B278462B4E81B31F775CB66F96A2/job/
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
NetApp is hiring for the role of Software Engineer
Experience: 0 - 2 years
Expected CTC: 8 LPA - 14 LPA
Apply here: https://careers.netapp.com/job/bengaluru/software-engineer/27600/69464773472
Experience: 0 - 2 years
Expected CTC: 8 LPA - 14 LPA
Apply here: https://careers.netapp.com/job/bengaluru/software-engineer/27600/69464773472
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
const int MOD = 1000000007;
int countNewArrays(vector<int>& arr) {
int n = arr.size();
sort(arr.begin(), arr.end());
long long result = 1;
for (int i = 0; i < n; ++i) {
int a = arr[i] - i;
if (a <= 0) {
return 0;
}
result = (result * possaible_values) % MOD;
}
return result;
}
DE SHAW โ
๐1
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
typedef struct {
int a, b, c;
double area;
} triangle;
double calculate_area(int a, int b, int c) {
double p = (a + b + c) / 2.0;
return (p * (p - a) * (p - b) * (p - c));
}
int compare(const void* a, const void* b) {
triangle* t1 = (triangle*)a;
triangle* t2 = (triangle*)b;
if (t1->area < t2->area)
return -1;
else if (t1->area > t2->area)
return 1;
else
return 0;
}
int sort_by_area(triangle* tr, int n) {
if (tr == NULL || n <= 0) {
return -1;
}
for (int i = 0; i < n; i++) {
tr[i].area = calculate_area(tr[i].a, tr[i].b, tr[i].c);
}
qsort(tr, n, sizeof(triangle), compare);
return 0;
}
IBMโ
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
public class Main {
public static void convertToIpv6(String ipv4Address) {
String[] octets = ipv4Address.split("\\.");
if (octets.length != 4) {
System.out.println("Invalid input");
return;
}
if (octets[0].equals("127")) {
System.out.println("::1");
return;
}
StringBuilder ipv6 = new StringBuilder("::FFFF:");
try {
for (int i = 0; i < 4; i++) {
int octet = Integer.parseInt(octets[i]);
if (octet < 0 || octet > 255) {
System.out.println("Invalid input");
return;
}
String hex = String.format("%02X", octet);
ipv6.append(hex);
if (i == 1) {
ipv6.append(":");
}
}
} catch (NumberFormatException e) {
System.out.println("Invalid input");
return;
}
System.out.println(ipv6.toString());
}
IBMโ
def optimize_packaging(N, prods, M, bxs, K):
prods.sort(key=lambda x: x[0], reverse=True)
bxs.sort(key=lambda x: x[0], reverse=True)
boxC = 0
pidx = 0
for bx in bxs:
boxW, boxV = bx
currW = 0
currV = 0
while (pidx < N and
currW + prods[pidx][0] <= boxW and
currV + prods[pidx][1] <= boxV):
currW += prods[pidx][0]
currV += prods[pidx][1]
pidx += 1
if currW > 0 or currV > 0:
boxC += 1
if pidx == N:
break
return boxC if pidx == N and boxC <= K else -1
Product Packaging
Meesho Dice โ
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
fast();
int N, M, K;
cin >> N >> M;
unordered_map<int, int> freq;
for (int i = 0; i < N; i++) {
set<int> uniqP;
for (int j = 0; j < M; j++) {
int pid;
cin >> pid;
uniqP.insert(pid);
}
for (int prod : uniqP) {
freq[prod]++;
}
}
cin >> K;
vector<int> res;
for (auto& it : freq) {
if (it.second >= K) {
res.push_back(it.first);
}
}
sort(res.begin(), res.end());
for (int prod : res) {
cout << prod << " ";
}
cout << endl;
}
#define ll long long
using namespace std;
int main() {
fast();
int N, M, K;
cin >> N >> M;
unordered_map<int, int> freq;
for (int i = 0; i < N; i++) {
set<int> uniqP;
for (int j = 0; j < M; j++) {
int pid;
cin >> pid;
uniqP.insert(pid);
}
for (int prod : uniqP) {
freq[prod]++;
}
}
cin >> K;
vector<int> res;
for (auto& it : freq) {
if (it.second >= K) {
res.push_back(it.first);
}
}
sort(res.begin(), res.end());
for (int prod : res) {
cout << prod << " ";
}
cout << endl;
}
๐2
๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Photo
def parse_ip_header(a, b, c):
def binary_to_decimal(binary_str):
try:
return int(binary_str, 2)
except ValueError:
print("Error converting binary to decimal. Invalid binary string.")
return -1
if len(a) < 32 or len(b) < 32 or len(c) < 32:
print("INVALID Input")
return
version = binary_to_decimal(a[0:4])
protocol_binary = a[4:12]
ttl_binary = a[12:20]
packet_length_binary = a[20:32]
protocol_number = binary_to_decimal(protocol_binary)
protocol = 'TCP' if protocol_number == 6 else 'UDP' if protocol_number == 17 else 'Unknown'
ttl = binary_to_decimal(ttl_binary)
packet_length = binary_to_decimal(packet_length_binary)
def binary_ip_to_decimal(ip_binary):
try:
return '.'.join(str(binary_to_decimal(ip_binary[i:i+8])) for i in range(0, 32, 8))
except ValueError:
print("Error converting binary IP to decimal.")
return "Invalid IP"
source_ip = binary_ip_to_decimal(b)
destination_ip = binary_ip_to_decimal(c)
print(f"{version},{protocol},{ttl},{packet_length}")
print(source_ip)
print(destination_ip)
import sys
n = int(input())
inputs = [line.strip() for line in sys.stdin.readlines()]
if len(inputs) < 3:
print("Invalid Input")
else:
a, b, c = inputs[:3]
parse_ip_header(a, b, c)
IBMโ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Email: shipra.paliwal@gxinetworks.com
Fill the form: https://docs.google.com/forms/d/e/1FAIpQLSdSCmom-2HnmLk_mOA3kA6a4Pp4yBVRHmf1wp7R11yxTCgAVw/viewform
Fill the form: https://docs.google.com/forms/d/e/1FAIpQLSdSCmom-2HnmLk_mOA3kA6a4Pp4yBVRHmf1wp7R11yxTCgAVw/viewform