Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: WhiteCarrot
Role: Full Stack Developer Intern
Batch eligible: 2023 grads only
Apply: https://bit.ly/45mAI3E
Role: Full Stack Developer Intern
Batch eligible: 2023 grads only
Apply: https://bit.ly/45mAI3E
cuvette.tech
Fullstack Developer Internship in AthLead at Bangalore, Karnataka, India | Cuvette
Apply For Fullstack Developer Internship | Skills required are Database Administration, Responsive Design, AWS | Stipend โน15K-20K | FULL-TIME INTERNSHIP | Location is Work from Home
๐1
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
RedHat Hiring Associate Software Engineer
Batch - 2022 or before
Link ๐
https://global-redhat.icims.com/jobs/99686/associate-software-engineer/job?
Batch - 2022 or before
Link ๐
https://global-redhat.icims.com/jobs/99686/associate-software-engineer/job?
#include <bits/stdc++.h>
using namespace std;
bool check(int a,int b,map<int,vector<int>> m){
if(a==b) return 1;
for(auto &x : m[a]){
if(check(x,b,m)) return 1;
}
return 0;
}
int main() {
int n,l;
cin>>n>>l;
vector<int> v1(n) , v2(l);
map<int,vector<int>> m;
for(int i=0;i<n;i++){
cin>>v1[i];
}
for(int i=0;i<l;i++){
cin>>v2[i];
}
for(int i=0;i<n-1;i++){
m[v1[i]].push_back(v1[i+1]);
}
for(int i=0;i<l-1;i++){
m[v2[i]].push_back(v2[i+1]);
}
int a,b;
cin>>a>>b;
bool ok=check(a,b,m);
if(ok){
cout<<"YES";
}else{
cout<<"NO";
}
}
Shopping Spree โ
using namespace std;
bool check(int a,int b,map<int,vector<int>> m){
if(a==b) return 1;
for(auto &x : m[a]){
if(check(x,b,m)) return 1;
}
return 0;
}
int main() {
int n,l;
cin>>n>>l;
vector<int> v1(n) , v2(l);
map<int,vector<int>> m;
for(int i=0;i<n;i++){
cin>>v1[i];
}
for(int i=0;i<l;i++){
cin>>v2[i];
}
for(int i=0;i<n-1;i++){
m[v1[i]].push_back(v1[i+1]);
}
for(int i=0;i<l-1;i++){
m[v2[i]].push_back(v2[i+1]);
}
int a,b;
cin>>a>>b;
bool ok=check(a,b,m);
if(ok){
cout<<"YES";
}else{
cout<<"NO";
}
}
Shopping Spree โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Nasdaq hiring Software engineer
2024 Summer Internship โ Technology Interns (Bangalore)
Duration : 8 weeks
batch - 2025/ 2026
Stipend - 50K /month
Apply - https://nasdaq.wd1.myworkdayjobs.com/en-US/Global_External_Site/job/India---Bangalore---Karnataka/XMLNAME-2024-Summer-Internship---Technology-Interns--Bangalore-_R0015197
2024 Summer Internship โ Technology Interns (Bangalore)
Duration : 8 weeks
batch - 2025/ 2026
Stipend - 50K /month
Apply - https://nasdaq.wd1.myworkdayjobs.com/en-US/Global_External_Site/job/India---Bangalore---Karnataka/XMLNAME-2024-Summer-Internship---Technology-Interns--Bangalore-_R0015197
#include <bits/stdc++.h>
#define MOD 1000000007
using namespace std;
int memo(int n,vector<int> &dp){
if(n <= 1) return 1;
else if(n==2) return 2;
else if(n==3) return 4;
if(dp[n] != -1) return dp[n];
return dp[n] = (memo(n-1,dp) + memo(n-2,dp) + memo(n-3,dp))%MOD;
}
int climbStairs(int n) {
vector<int> dp(n+1,-1);
return memo(n,dp);
}
int main()
{
cout<<climbStairs(4);
return 0;
}
Stair
C++
#define MOD 1000000007
using namespace std;
int memo(int n,vector<int> &dp){
if(n <= 1) return 1;
else if(n==2) return 2;
else if(n==3) return 4;
if(dp[n] != -1) return dp[n];
return dp[n] = (memo(n-1,dp) + memo(n-2,dp) + memo(n-3,dp))%MOD;
}
int climbStairs(int n) {
vector<int> dp(n+1,-1);
return memo(n,dp);
}
int main()
{
cout<<climbStairs(4);
return 0;
}
Stair
C++
Minimum Addition โ
class SuperMarket {
private Map<Integer, Customer> customers = new HashMap<>();
private Map<Integer, Queue<Customer>> lines = new HashMap<>();
public void OnCustomerEnter(int customerId, int lineNumber, int numItems) {
Customer customer = new Customer(customerId, lineNumber, numItems);
customers.put(customerId, customer);
if (!lines.containsKey(lineNumber)) {
lines.put(lineNumber, new LinkedList<>());
}
lines.get(lineNumber).add(customer);
}
public void OnBasketChange(int customerId, int newNumItems) {
Customer customer = customers.get(customerId);
int oldNumItems = customer.getNumItems();
customer.setNumItems(newNumItems);
if (oldNumItems > newNumItems) {
return;
}
Queue<Customer> line = lines.get(customer.getLineNumber());
line.remove(customer);
line.add(customer);
}
public void OnLineService(int lineNumber, int numProcessedItems) {
Queue<Customer> line = lines.get(lineNumber);
if (line.isEmpty()) {
return;
}
Customer customer = line.peek();
int numItems = customer.getNumItems();
if (numItems <= numProcessedItems) {
line.remove();
customers.remove(customer.getCustomerId());
System.out.println(customer.getCustomerId());
} else {
customer.setNumItems(numItems - numProcessedItems);
}
}
public void OnLinesService() {
for (int lineNumber : lines.keySet()) {
OnLineService(lineNumber, Integer.MAX_VALUE);
}
}
}
class Customer {
private int customerId;
private int lineNumber;
private int numItems;
public Customer(int customerId, int lineNumber, int numItems) {
this.customerId = customerId;
this.lineNumber = lineNumber;
this.numItems = numItems;
}
public int getCustomerId() {
return customerId;
}
public int getLineNumber() {
return lineNumber;
}
public int getNumItems() {
return numItems;
}
public void setNumItems(int numItems) {
this.numItems = numItems;
}
}
Supermarket Checkout โ
private Map<Integer, Customer> customers = new HashMap<>();
private Map<Integer, Queue<Customer>> lines = new HashMap<>();
public void OnCustomerEnter(int customerId, int lineNumber, int numItems) {
Customer customer = new Customer(customerId, lineNumber, numItems);
customers.put(customerId, customer);
if (!lines.containsKey(lineNumber)) {
lines.put(lineNumber, new LinkedList<>());
}
lines.get(lineNumber).add(customer);
}
public void OnBasketChange(int customerId, int newNumItems) {
Customer customer = customers.get(customerId);
int oldNumItems = customer.getNumItems();
customer.setNumItems(newNumItems);
if (oldNumItems > newNumItems) {
return;
}
Queue<Customer> line = lines.get(customer.getLineNumber());
line.remove(customer);
line.add(customer);
}
public void OnLineService(int lineNumber, int numProcessedItems) {
Queue<Customer> line = lines.get(lineNumber);
if (line.isEmpty()) {
return;
}
Customer customer = line.peek();
int numItems = customer.getNumItems();
if (numItems <= numProcessedItems) {
line.remove();
customers.remove(customer.getCustomerId());
System.out.println(customer.getCustomerId());
} else {
customer.setNumItems(numItems - numProcessedItems);
}
}
public void OnLinesService() {
for (int lineNumber : lines.keySet()) {
OnLineService(lineNumber, Integer.MAX_VALUE);
}
}
}
class Customer {
private int customerId;
private int lineNumber;
private int numItems;
public Customer(int customerId, int lineNumber, int numItems) {
this.customerId = customerId;
this.lineNumber = lineNumber;
this.numItems = numItems;
}
public int getCustomerId() {
return customerId;
}
public int getLineNumber() {
return lineNumber;
}
public int getNumItems() {
return numItems;
}
public void setNumItems(int numItems) {
this.numItems = numItems;
}
}
Supermarket Checkout โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Mobileum hiring Mobileum - Software Engineer - Algorithm/Data Structure in Bengaluru, Karnataka, India | LinkedIn
Posted 3:29:33 PM. Title : Software Engineer (Developer)Location : BangaloreWho we are ?We are leading provider ofโฆSee this and similar jobs on LinkedIn.