TCS NQT SOLUTION GROUP:
https://t.me/Coding_human
https://t.me/tcs_nqt_thryve_wiley_edge_code
✅ Share post in ur college Whatsapp grps.
https://t.me/Coding_human
https://t.me/tcs_nqt_thryve_wiley_edge_code
✅ Share post in ur college Whatsapp grps.
n=int(input())
k=int(input())
mon=[]
for i in range(n):
mon.append(int(input()))
mi=min(mon)
ma=max(mon)
ma=ma-k
mi=mi+k
diff=ma-mi
print(diff)
Python
Reddington has invested Code
Telegram - https://t.me/Coding_human
k=int(input())
mon=[]
for i in range(n):
mon.append(int(input()))
mi=min(mon)
ma=max(mon)
ma=ma-k
mi=mi+k
diff=ma-mi
print(diff)
Python
Reddington has invested Code
Telegram - https://t.me/Coding_human
Verbal
1) Let's sit on the problem for a
2) few have
3)was penturbed
4) CBAD
5) cutting corners,red tap
6)1. Means of livelihood of 2. Draped in the morning mist...
7)2143
8)1342
9)P and S
10)focus at the large sites with ways to engaged your prospects
11)A) depriving B)desired c) revert d) exceeding
12)1)to walk the extra mile 2)show the bull the red flag
13)4132
14)lose sense of time
Verbal https://t.me/Coding_human
15) virtuoso
16) anatomy consists human of; However, over the skin
17) bcbea
18) pq
19)he had come to DC in order...
20) Director Sato lacked the fox with..
21)what ever she lacked in physical charm...
22)the Roman emperor, Marcus aurelius
23)stockdare employed a tactic that many....
24)the clarity of belief that that mind will role
25)it is the ability to test your own moral courage whenfaced...
Telegram - https://t.me/Coding_human
1) Let's sit on the problem for a
2) few have
3)was penturbed
4) CBAD
5) cutting corners,red tap
6)1. Means of livelihood of 2. Draped in the morning mist...
7)2143
8)1342
9)P and S
10)focus at the large sites with ways to engaged your prospects
11)A) depriving B)desired c) revert d) exceeding
12)1)to walk the extra mile 2)show the bull the red flag
13)4132
14)lose sense of time
Verbal https://t.me/Coding_human
15) virtuoso
16) anatomy consists human of; However, over the skin
17) bcbea
18) pq
19)he had come to DC in order...
20) Director Sato lacked the fox with..
21)what ever she lacked in physical charm...
22)the Roman emperor, Marcus aurelius
23)stockdare employed a tactic that many....
24)the clarity of belief that that mind will role
25)it is the ability to test your own moral courage whenfaced...
Telegram - https://t.me/Coding_human
⭐️⭐️TCS NQT [9AM] SOLUTION GROUP:
https://t.me/Coding_human
https://t.me/tcs_nqt_thryve_wiley_edge_code
https://t.me/tcs_nqt_thryve_wiley_edge_code
✅ Share post in ur college Whatsapp grps.
https://t.me/Coding_human
https://t.me/tcs_nqt_thryve_wiley_edge_code
https://t.me/tcs_nqt_thryve_wiley_edge_code
✅ Share post in ur college Whatsapp grps.
TCS ADVANCED quants
1) 31/45
2)
3) q²-2pr/pr²
4) 6
5) 15
6) 3
7) 40
8) 4
9) west bengal
10) 5
✅Telegram - https://t.me/Coding_human
1) 31/45
2)
3) q²-2pr/pr²
4) 6
5) 15
6) 3
7) 40
8) 4
9) west bengal
10) 5
✅Telegram - https://t.me/Coding_human
int(input())
a=[int(input()) for i in range(n)]
d={}
for i in a:
if i not in d:
d[i]=1
else:
d[i]+=1
v=list(d.values())
k=list(d.keys())
for i in range(len(v)):
if v[i]>1:
print(k[i])
break
else:
print(-1)
break
Python
Mike code
✅Telegram - https://t.me/Coding_human
a=[int(input()) for i in range(n)]
d={}
for i in a:
if i not in d:
d[i]=1
else:
d[i]+=1
v=list(d.values())
k=list(d.keys())
for i in range(len(v)):
if v[i]>1:
print(k[i])
break
else:
print(-1)
break
Python
Mike code
✅Telegram - https://t.me/Coding_human
include<stdio.h>
int main()
{
int n;
scanf("%d",&n);
int arr[n];
for(int i=0;i<n;i++)
{
scanf("%d",&arr[i]);
}
int count=0;
int num=arr[0];
for(int i=1;i<n;i++)
{
if(num!=arr[i])
count++;
}
printf("%d",count);
}
Alice
C language
✅Telegram - https://t.me/Coding_human
int main()
{
int n;
scanf("%d",&n);
int arr[n];
for(int i=0;i<n;i++)
{
scanf("%d",&arr[i]);
}
int count=0;
int num=arr[0];
for(int i=1;i<n;i++)
{
if(num!=arr[i])
count++;
}
printf("%d",count);
}
Alice
C language
✅Telegram - https://t.me/Coding_human
TCS NQT [9AM] SOLUTION GROUP:
https://t.me/Coding_human
https://t.me/tcs_nqt_thryve_wiley_edge_code
✅ Share post in ur college Whatsapp grps.
https://t.me/Coding_human
https://t.me/tcs_nqt_thryve_wiley_edge_code
✅ Share post in ur college Whatsapp grps.
Advance
1.0.91
2.2/3 √30
3.pr5/p7(3pr-q3)
4.a=1,b=8
5.25
6.90
7.101
8.toxicogy
9.3071
10.96
Telegram - https://t.me/Coding_human
1.0.91
2.2/3 √30
3.pr5/p7(3pr-q3)
4.a=1,b=8
5.25
6.90
7.101
8.toxicogy
9.3071
10.96
Telegram - https://t.me/Coding_human
Verbal
1- really mean
2- uk economy
3- need of the hour
4- recognise
5- DABC
6- the Indian cricket had
7- no great adventure
8- all the glitters
9-3421
10-ABCDE
11-PQ
12- at a relatively low cost
13- doesn't always agree
14.flagrant
15- Flock
16-CBADE
17.abdec
18-QR
19-On the base
20-Kushang and kishita
21- Others
22- Special Gov
24- common
25-from black banks
✅Telegram - https://t.me/Coding_human
1- really mean
2- uk economy
3- need of the hour
4- recognise
5- DABC
6- the Indian cricket had
7- no great adventure
8- all the glitters
9-3421
10-ABCDE
11-PQ
12- at a relatively low cost
13- doesn't always agree
14.flagrant
15- Flock
16-CBADE
17.abdec
18-QR
19-On the base
20-Kushang and kishita
21- Others
22- Special Gov
24- common
25-from black banks
✅Telegram - https://t.me/Coding_human
1) NL
2) A, b and d
3) C
4) Data in statement ii
6) Either statement
7) Mothers (B)
8) x for (C)
9) Social
10) The case is to be
11) Rejected
12) Both l & ll
13) Both
14) Only l is
Telegram - https://t.me/Coding_human
2) A, b and d
3) C
4) Data in statement ii
6) Either statement
7) Mothers (B)
8) x for (C)
9) Social
10) The case is to be
11) Rejected
12) Both l & ll
13) Both
14) Only l is
Telegram - https://t.me/Coding_human
#include <iostream>
#include<bits/stdc++.h>
using namespace std;
int main() {
int n1,n2,i,j,c;
cin>>n1>>n2;
int a[n1],b[n2];
set<int> s;
for(i=0;i<n1;i++)
{
cin>>a[i];
s.insert(a[i]);
}
for(i=0;i<n2;i++)
{
cin>>b[i];
s.insert(b[i]);
}
vector<int> v(s.begin(),s.end());
c=s.size();
if(c%2==1)
{
c=c/2;
cout<<v[c];
}
else
{
n1=c/2;
n2=n1-1;
float q=(v[n1]+v[n2])/2.0;
cout<<q;
}
return 0;
}
C++ Language
Storeroom code
Telegram - https://t.me/Coding_human
#include<bits/stdc++.h>
using namespace std;
int main() {
int n1,n2,i,j,c;
cin>>n1>>n2;
int a[n1],b[n2];
set<int> s;
for(i=0;i<n1;i++)
{
cin>>a[i];
s.insert(a[i]);
}
for(i=0;i<n2;i++)
{
cin>>b[i];
s.insert(b[i]);
}
vector<int> v(s.begin(),s.end());
c=s.size();
if(c%2==1)
{
c=c/2;
cout<<v[c];
}
else
{
n1=c/2;
n2=n1-1;
float q=(v[n1]+v[n2])/2.0;
cout<<q;
}
return 0;
}
C++ Language
Storeroom code
Telegram - https://t.me/Coding_human
✅Tcs answers
1.1
2.0.16
3.1-5 power32
4.450
5.19
6.9
7.500,20
8.12
9.2:1
10.28.24 loss
11.650
12.24
13.7/12
✅Telegram - https://t.me/Coding_human
1.1
2.0.16
3.1-5 power32
4.450
5.19
6.9
7.500,20
8.12
9.2:1
10.28.24 loss
11.650
12.24
13.7/12
✅Telegram - https://t.me/Coding_human
Verbal
1.peremenent...
2.had completely sank
3.being witness
4.festival ...oration...laud
5.CDAB
6.cup of tea....a blessing in disguise
7.took the plung
8.spice of life.............laid out
9.2431
10.DABEC
11.CABDE
12.P and R
13.we all commeit error.......and blunders out of ignorance or inexperience in the course of acquire experience man everyone often stumbles and falls
14.incentivies of patakers will not align with some treating it disregarding the sustainability of
15) ingenious
16) Conscientious
17) BLADE
18) QR
19) The narrator was keen on taking
Telegram - https://t.me/Coding_human
1.peremenent...
2.had completely sank
3.being witness
4.festival ...oration...laud
5.CDAB
6.cup of tea....a blessing in disguise
7.took the plung
8.spice of life.............laid out
9.2431
10.DABEC
11.CABDE
12.P and R
13.we all commeit error.......and blunders out of ignorance or inexperience in the course of acquire experience man everyone often stumbles and falls
14.incentivies of patakers will not align with some treating it disregarding the sustainability of
15) ingenious
16) Conscientious
17) BLADE
18) QR
19) The narrator was keen on taking
Telegram - https://t.me/Coding_human