Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO
Open in Telegram
Main channel https://t.me/Coding_000 Contact Admin 👉 @ILOVEU_143 for booking your exam slots Web- https://coding000.github.io/Projects/ 💯% clearance in any placement exams OffCampus -https://t.me/Offcampus_000 Discussion- https://t.me/exams_discussion
Show more3 337
Subscribers
-424 hours
-147 days
-5330 days
Posts Archive
we providing fast ans please share to large group make 2k 😍
python 1st code tcs
Note-Change the logic and variables to avoid plagarism 😊😁
@Coding_000
Rajesh code -tcs 2nd code python
N=int(input())
A=[]
A=list(map(int,input().split()))
#print(A)
Q=int(input())
ARRAY=[]
from itertools import repeat
ARRAY=[[]for i in repeat(None,Q)]
#print(ARRAY)
for i in range(0,Q):
x,y=input().split()
x=int(x)
y=int(y)
ARRAY[i].append(x)
ARRAY[i].append(y)
#print(ARRAY)
for i in range(0,Q):
count=0
if(ARRAY[i][0]==0):
for j in range(len(A)):
if(A[j]>=ARRAY[i][1]):
count+=1
print(count)
elif(ARRAY[i][0]==1):
for j in range(len(A)):
if(A[j]>ARRAY[i][1]):
count+=1
print(count)
else:
pass
Python
Rajesh Code-Tcs 2nd code
#include <bits/stdc++.h>
using namespace std;
string decimalToBinary(int n)
{
string s = bitset<64> (n).to_string();
const auto loc1 = s.find('1');
if(loc1 != string::npos)
return s.substr(loc1);
return "0";
}
int main()
{
int n;
cin>>n;
int ans=1;
string s =decimalToBinary(n);
for(int i=s.size()-1;i>=0;i--)
{
if(s[i]=='1')
break;
else
ans++;
}
cout<<ans;
return 0;
}
C++
@Coding_000
Available now! Telegram Research 2025 — the year's key insights 
