Forwarded from INFO EDGE | IBM | Accenture | TCS | Wipro | Cognizant | Capgemini | Amazon | Exam Group | Discussion Group - SuperExams (โขโข|| S S ||โขโข)
Juspay Solutions:
--1st o/0(11)
def traverse(graph, visited, curr, path, stack, n):
if curr==n-1:
path.append(stack.copy())
stack.pop()
return path, stack
else:
visited[curr] = 1
for ele in graph[curr]:
if visited[ele] == 0:
stack.append(ele)
path, stack = traverse(graph, visited, ele, path, stack, n)
stack.pop()
return path, stack
n, m, t, c = map(int, input().split())
graph = [[] for _ in range(n)]
visited = [0 for _ in range(n)]
for _ in range(m):
a,b = map(int, input().split())
graph[a-1].append(b-1)
graph[b-1].append(a-1)
path, _ = traverse(graph, visited, 0, [], [0], n)
path.sort(key=lambda x:len(x))
# print(path)
tim = 0
l = len(path[0])
for i in range(1, l):
tim += c
if i==l-1:
break
else:
temp = tim//t
if temp%2==1:
tim = (temp+1)*t
print(tim)
2nd--o/p(11011)
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
vector<int> store[1001];
vector<pair<ll,vector<ll>>> ptr;
void dfs(ll st,ll e,ll vis[],vector<ll> rs,ll w){
rs.push_back(st);
if(st == e){
ptr.push_back({w*(rs.size()-1),rs});
return;
}
for(auto u : store[st]){
if(vis[u] == 0){
vis[st] = 1;
dfs(u,e,vis,rs,w);
vis[st] = 0;
}
}
}
int main()
{
ll n,m,t,c,u,v;
cin>>n>>m>>t>>c;
while(m--){
cin>>u>>v;
store[u].push_back(v);
store[v].push_back(u);
}
vector<ll> rs;
ll w = c;
ll vis[n+1] = {0};
dfs(1,n,vis,rs,w);
sort(ptr.begin(),ptr.end());
vector<ll> rt[n+1];
for(int i=0;i<ptr.size();i++){
ll nes = ptr[i].second.size();
for(auto u : ptr[i].second){
rt[u].push_back(nes);
}
}
ll trt[n+1] = {0};
trt[1] = 1;
trt[n] = 1;
for(int i=2;i<=n-1;i++){
if(rt[i].size() > 0){
ll tm = rt[i][0];
ll up = upper_bound(rt[i].begin(),rt[i].end(),tm) - rt[i].begin();
trt[i] = up;
}
}
for(int i=1;i<=n;i++)
cout<<trt[i]<<" ";
return 0;
}
3rd--o/p(-1)
def fun(arr,s,en,length,char,t,ans,final,green,ch):
if ans//t>ch:
green=not green
ch+=1
if s==en:
final.append(ans)
return
for i in arr[s]:
if str(i) not in length[:-1].split():
if green:
fun(arr,i,en,length+str(i)+" ",char,t,ans+char,final,green,ch)
else:
aq=ans%t
fun(arr,i,en,length+str(i)+" ",char,t,ans+char+t-aq,final,not green,ch)
return
n,m,t,c=map(int,input().split())
d={}
for i in range(m):
u,v=map(int,input().split())
if u in d:
d[u].append(v)
else:
d[u]=[v]
if v in d:
d[v].append(u)
else:
d[v]=[u]
l="1 "
final=[]
green=True
ch=0
ret=fun(d,1,n,l,c,t,0,final,green,ch)
final=set(final)
final=list(final)
final.sort()
if len(final)>1:
print(final[1])
else:
print(-1)
Juspay
For 1st ques
O/p 11(Python3)
All test case passing
For 2nd ques
O/p 11011(c++)
7/10
For 3rd ques (Python3)
O/p -1
8/10
--1st o/0(11)
def traverse(graph, visited, curr, path, stack, n):
if curr==n-1:
path.append(stack.copy())
stack.pop()
return path, stack
else:
visited[curr] = 1
for ele in graph[curr]:
if visited[ele] == 0:
stack.append(ele)
path, stack = traverse(graph, visited, ele, path, stack, n)
stack.pop()
return path, stack
n, m, t, c = map(int, input().split())
graph = [[] for _ in range(n)]
visited = [0 for _ in range(n)]
for _ in range(m):
a,b = map(int, input().split())
graph[a-1].append(b-1)
graph[b-1].append(a-1)
path, _ = traverse(graph, visited, 0, [], [0], n)
path.sort(key=lambda x:len(x))
# print(path)
tim = 0
l = len(path[0])
for i in range(1, l):
tim += c
if i==l-1:
break
else:
temp = tim//t
if temp%2==1:
tim = (temp+1)*t
print(tim)
2nd--o/p(11011)
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
vector<int> store[1001];
vector<pair<ll,vector<ll>>> ptr;
void dfs(ll st,ll e,ll vis[],vector<ll> rs,ll w){
rs.push_back(st);
if(st == e){
ptr.push_back({w*(rs.size()-1),rs});
return;
}
for(auto u : store[st]){
if(vis[u] == 0){
vis[st] = 1;
dfs(u,e,vis,rs,w);
vis[st] = 0;
}
}
}
int main()
{
ll n,m,t,c,u,v;
cin>>n>>m>>t>>c;
while(m--){
cin>>u>>v;
store[u].push_back(v);
store[v].push_back(u);
}
vector<ll> rs;
ll w = c;
ll vis[n+1] = {0};
dfs(1,n,vis,rs,w);
sort(ptr.begin(),ptr.end());
vector<ll> rt[n+1];
for(int i=0;i<ptr.size();i++){
ll nes = ptr[i].second.size();
for(auto u : ptr[i].second){
rt[u].push_back(nes);
}
}
ll trt[n+1] = {0};
trt[1] = 1;
trt[n] = 1;
for(int i=2;i<=n-1;i++){
if(rt[i].size() > 0){
ll tm = rt[i][0];
ll up = upper_bound(rt[i].begin(),rt[i].end(),tm) - rt[i].begin();
trt[i] = up;
}
}
for(int i=1;i<=n;i++)
cout<<trt[i]<<" ";
return 0;
}
3rd--o/p(-1)
def fun(arr,s,en,length,char,t,ans,final,green,ch):
if ans//t>ch:
green=not green
ch+=1
if s==en:
final.append(ans)
return
for i in arr[s]:
if str(i) not in length[:-1].split():
if green:
fun(arr,i,en,length+str(i)+" ",char,t,ans+char,final,green,ch)
else:
aq=ans%t
fun(arr,i,en,length+str(i)+" ",char,t,ans+char+t-aq,final,not green,ch)
return
n,m,t,c=map(int,input().split())
d={}
for i in range(m):
u,v=map(int,input().split())
if u in d:
d[u].append(v)
else:
d[u]=[v]
if v in d:
d[v].append(u)
else:
d[v]=[u]
l="1 "
final=[]
green=True
ch=0
ret=fun(d,1,n,l,c,t,0,final,green,ch)
final=set(final)
final=list(final)
final.sort()
if len(final)>1:
print(final[1])
else:
print(-1)
Juspay
For 1st ques
O/p 11(Python3)
All test case passing
For 2nd ques
O/p 11011(c++)
7/10
For 3rd ques (Python3)
O/p -1
8/10
Forwarded from INFO EDGE | IBM | Accenture | TCS | Wipro | Cognizant | Capgemini | Amazon | Exam Group | Discussion Group - SuperExams (โขโข|| S S ||โขโข)
Only change variables if someone writing now onward
Forwarded from INFO EDGE | IBM | Accenture | TCS | Wipro | Cognizant | Capgemini | Amazon | Exam Group | Discussion Group - SuperExams (โขโข|| S S ||โขโข)
Because all copying this code only
Flipkart Software Development Challenge
BTech / BE / MTech
2022,2023,2024 & 2025
U must participate in team only
@f_a_a_n_g_777
@sup777exams
https://dare2compete.com/o/flipkart-grid-30-software-development-challenge-flipkart-grid-30-flipkart-173986?lb=21063016
BTech / BE / MTech
2022,2023,2024 & 2025
U must participate in team only
@f_a_a_n_g_777
@sup777exams
https://dare2compete.com/o/flipkart-grid-30-software-development-challenge-flipkart-grid-30-flipkart-173986?lb=21063016
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ
๐ Capgemini Off Campus Drive 2021 For Non โ Engg Freshers | BSC/BCA | BA/BCOM | BBA | Service Desk Engineer | Bangalore/ Kolkata
* Job Role : Service Desk Engineer
* Qualification : Any 3 Year Degree
* Experience : Freshers 2020/2021 Batch
* Job Location : Bangalore, Kolkata
* Package : 2.5 LPA
https://fresherearth.blogspot.com/2021/06/capgemini-off-campus-drive-2021-for-non.html
โ ๐ช @fresherearth โ
* Job Role : Service Desk Engineer
* Qualification : Any 3 Year Degree
* Experience : Freshers 2020/2021 Batch
* Job Location : Bangalore, Kolkata
* Package : 2.5 LPA
https://fresherearth.blogspot.com/2021/06/capgemini-off-campus-drive-2021-for-non.html
โ ๐ช @fresherearth โ
FresherEarth - Get All Latest Jobs Here
Capgemini Off Campus Drive 2021 For Non โ Engg Freshers | BSC/BCA | BA/BCOM | BBA | Service Desk Engineer | Bangalore/ Kolkata
fresher jobs, freshers jobs, off campus jobs, latest fresher jobs, fresher jobs bangalore, fresher jobs hyderabad, latest walk in drive
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ
๐ Micron Off Campus Drive 2021 | 0-1 year | Associate Engineer | BE/ B.Tech/ BS | Hyderabad
* Job Role : Associate Engineer โ ASIC Design
* Qualification : BE/B.Tech/MCA/ME/M.Tech From Top Hyderabad Colleges
* Experience : Freshers (6 months to 1 year)
* Job Location : Hyderabad
* Batch : 2021
https://fresherearth.blogspot.com/2021/06/micron-off-campus-drive-2021-0-1-year.html
โ ๐ช @fresherearth โ
* Job Role : Associate Engineer โ ASIC Design
* Qualification : BE/B.Tech/MCA/ME/M.Tech From Top Hyderabad Colleges
* Experience : Freshers (6 months to 1 year)
* Job Location : Hyderabad
* Batch : 2021
https://fresherearth.blogspot.com/2021/06/micron-off-campus-drive-2021-0-1-year.html
โ ๐ช @fresherearth โ
FresherEarth - Get All Latest Jobs Here
Micron Off Campus Drive 2021 | 0-1 year | Associate Engineer | BE/ B.Tech/ BS | Hyderabad
fresher jobs, freshers jobs, off campus jobs, latest fresher jobs, fresher jobs bangalore, fresher jobs hyderabad, latest walk in drive
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ
๐ Marriott Off Campus Drive 2021 : Freshers | Engineering Associate | BE/ B.Tech | Bangalore
* Job Role : Engineering Associate
* Qualification : Bachelors in Engineering
* Experience : Freshers (2019/ 2020/2021 Batch)
* Job Location : Bangalore
* Package : 3 LPA+
https://fresherearth.blogspot.com/2021/06/marriott-off-campus-drive-2021-freshers.html
โ ๐ช @fresherearth โ
* Job Role : Engineering Associate
* Qualification : Bachelors in Engineering
* Experience : Freshers (2019/ 2020/2021 Batch)
* Job Location : Bangalore
* Package : 3 LPA+
https://fresherearth.blogspot.com/2021/06/marriott-off-campus-drive-2021-freshers.html
โ ๐ช @fresherearth โ
FresherEarth - Get All Latest Jobs Here
Marriott Off Campus Drive 2021 : Freshers | Engineering Associate | BE/ B.Tech | Bangalore
fresher jobs, freshers jobs, off campus jobs, latest fresher jobs, fresher jobs bangalore, fresher jobs hyderabad, latest walk in drive
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ
๐ Flipkart GRiD 3.0-Software Development Challenge 2021 | Freshers | Trainee | PAN India | 26.57 LPA
* Job Role : Trainee
* Qualification : BE/ B.Tech/ ME/ M.Tech
* Experience : Freshers
* Batch : 2022,2023,2024 & 2025
* Package : INR 26.57 LPA
https://fresherearth.blogspot.com/2021/06/flipkart-grid-30-software-development.html
โ ๐ช @fresherearth โ
* Job Role : Trainee
* Qualification : BE/ B.Tech/ ME/ M.Tech
* Experience : Freshers
* Batch : 2022,2023,2024 & 2025
* Package : INR 26.57 LPA
https://fresherearth.blogspot.com/2021/06/flipkart-grid-30-software-development.html
โ ๐ช @fresherearth โ
FresherEarth - Get All Latest Jobs Here
Flipkart GRiD 3.0-Software Development Challenge 2021 | Freshers | Trainee | PAN India
fresher jobs, freshers jobs, off campus jobs, latest fresher jobs, fresher jobs bangalore, fresher jobs hyderabad, latest walk in drive
What we do in night ๐๐๐๐๐
Rakuten India is Hiring
Role : Technical Trainee
Batch : 2020 and 2021 BTech/BE/MCA passouts
Details : https://www.linkedin.com/posts/debankar-roy-ralph_btech-mca-be-activity-6814469759388786689-2Wjx
Role : Technical Trainee
Batch : 2020 and 2021 BTech/BE/MCA passouts
Details : https://www.linkedin.com/posts/debankar-roy-ralph_btech-mca-be-activity-6814469759388786689-2Wjx
Linkedin
Debankar Roy Chowdhury on LinkedIn: #Btech #MCA #BE | 10 comments
Opportunity for 2020 and 2021 pass-out #Btech #MCA #BE
We are looking for new talents! Rakuten India is hiring Trainees.
Candidate should have good knowledge... 10 comments on LinkedIn
We are looking for new talents! Rakuten India is hiring Trainees.
Candidate should have good knowledge... 10 comments on LinkedIn
Replicon
BSC/ BCA / BE/ BTECH / Eng. Grad 2020 batch (CS / IT / ECE / EEE/Any)
@f_a_a_n_g_777
@sup777exams
https://bit.ly/3wczjuV
BSC/ BCA / BE/ BTECH / Eng. Grad 2020 batch (CS / IT / ECE / EEE/Any)
@f_a_a_n_g_777
@sup777exams
https://bit.ly/3wczjuV
match.myanatomy.in
MATCH (MyAnatomy Talent Convergence Horizon)
A Campus Recruitment Enabler, converging the Corporates, Candidates and Colleges in one single platform
This media is not supported in your browser
VIEW IN TELEGRAM