@@saikumarmolli6479Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise
@@blackstargaming3678 it builds up with gradual practice starting with easy problems and concepts, vo karne ke baad, you will understand the flow. It definitely needs practice.
from itertools import permutations n=int(input()) res=format(n,'b') l=str(res) r=[] s=permutations(l) g=([''.join(p) for p in s]) for i in range(len(g)): r.append(int((g[i]),2)) print(min(r))
Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise
i am from 2023 batch i applied for accenture and got the congratulations You have moved ahead in our recruitment process. will i get the exam mail further?
n=int(input()) binary=bin(n)[2:] l=sorted(list(map(int, binary))) res=''.join(str(i) for i in l) print(int(res,2)) is my solution correct for above question?
@@anuragbhagrav1287Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise
How is this code? n = int(input("Enter a number: ")) b = bin(n)[2:] # Convert to binary and handle negative numbers by taking the absolute value sorted_b = ''.join(sorted(b)) # Sort the binary string and join it back into a string result = int(sorted_b, 2) # Convert the sorted binary string back to an integer print(result)
Sir can I do the coding assessment test in javascript language...? i am preparing for MERN STACK development.......also are there other exams or ways to join these companies as a MERN stack developer....?
better approach uses O(n) complexity used only one loop in this code #include using namespace std; int OperationsBinaryString(int num){ int count = 0; while(num){ count += num & 1; num>>= 1; } return count; } int smallestnum(int num){ if(num == 1)1; int count = OperationsBinaryString(num); return (1
✅✅Join Our Telegram Group for Accenture 2025 Batch Discussion : t.me/placement_batch_2025
✅✅Important IT Interview Subject Notes: topmate.io/code_bashers/1026390
✅✅Book Mock Interview : topmate.io/code_bashers
Binary representation of decimal number 10 is 1010 ( binary )
Ohh sorry , my bad , but solution discussed in video will still work 👍👍
Yes sir
@@saikumarmolli6479Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise
@@blackstargaming3678 it builds up with gradual practice starting with easy problems and concepts, vo karne ke baad, you will understand the flow. It definitely needs practice.
@@saikumarmolli6479 bhai mujhe woh pata hai concepts Mai puch raha tha kya allow karenge c++ ka stl function use karne ke liye ya nhi
import math
def minimum_binary(n:int):
mask = bin(n)[2:]
counter =0
for i in mask:
if i=='1':
counter+=1
print(counter)
return math.pow(counter,2)-1
print(minimum_binary(10))
from itertools import permutations
n=int(input())
res=format(n,'b')
l=str(res)
r=[]
s=permutations(l)
g=([''.join(p) for p in s])
for i in range(len(g)):
r.append(int((g[i]),2))
print(min(r))
N = int(input())
count_of_ones = bin(N).count('1')
smallest_number = (1
fantastic answer Tq
Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise
return int("".join(sorted(bin(num)[2:])),2)
Answer of first question
🤣java and c++ programmers crying at the corner
i am from 2023 batch i applied for accenture and got the congratulations You have moved ahead in our recruitment process. will i get the exam mail further?
Bro link ?
n=int(input())
binary=bin(n)[2:]
l=sorted(list(map(int, binary)))
res=''.join(str(i) for i in l)
print(int(res,2))
is my solution correct for above question?
Can anyone provide the link for the opening for 2025 batch ??
Bhai ye dono hi question toh bahut hi jayada easy level ke hai, sach me aise hi questions puchhte hai kya ? Need answer please??
See some find these easy , some tough.
For some slot dp questions are even asked . So it depends what questiin u get
@@CodeBashers okk, itne se Kitna ka lag jata hai??
@@anuragbhagrav1287Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise
How is this code?
n = int(input("Enter a number: "))
b = bin(n)[2:] # Convert to binary and handle negative numbers by taking the absolute value
sorted_b = ''.join(sorted(b)) # Sort the binary string and join it back into a string
result = int(sorted_b, 2) # Convert the sorted binary string back to an integer
print(result)
sir in the first question why dont we need to convert our decimal input into binary?? , how is the code working using decimal input
we are using bitwise and operation here therefore even if a decimal input is given the operation will be done bit by bit
yeah questions ky 22 wale exam m puche jaane k chances hain kya?
I attended on 26/7/24 I got same question
Where is this round conducted at college campus or from home online???
@@engineer2025k online
@@panchamigowda27 and what about first round aptitude and all??
Actually today I received the registration mail for the recruitment
Do you have apti questiosn also
@@engineer2025k yes it's aptitude round if u clear aptitude round you can proceed to coding round
From which platform these questions are?
Means Accenture has its platform.
One doubt...in on campus drive can attend the test anywhere or only we need to attend in clg lab?
College will inform u about this
Registration ke kitne din baad test hota hai ..?
yes i also want to know about it ?
bhai mene feb me kia tha abhi tkk ni aayi mail
binay representation of 10 is 1010. Not 1001 this is equal to 9.
Yes brother , its my fault but approach would still remain same ,
Because approach depends on number of set bits and not position of set bit 👍
sir y dose the power start from 1 and not 0
This exam was for of campus 2024 batch... Because i am in on campus 2025 batch
Can u tell the timeline of 2025 on campus assessment tests?
Time line will be that assessment can be in 1st week of August
@@CodeBashersNo the registration deadline is extended to 5th August
Binary of 10 = 1010
Sir can I do the coding assessment test in javascript language...? i am preparing for MERN STACK development.......also are there other exams or ways to join these companies as a MERN stack developer....?
where you learning this mern stach developer course bro actually.
@@ukkalyanvlogs from offline class..... qspider
I applied for Accenture off campus, on June itself, but no assesment link came
\Same
I applied in April till now I didn't get assessment link@@salmansheriff8243
I studied dsa for 2 weeks and can solve these 2😭
I have registered for Accenture assesment test i got registeration mail but i havent got assement test date
Same
@@salmansheriff8243same
@@salmansheriff8243 can you please send me a registration link
Return pow(2,count)-1;
For a particular question many approaches are possible . I try to explain simple approch which can be understood by all. 👍
I'm not able to solve the first question by myself. Still a loser
Python lo code chepara sir
Ism aa
@@Anonymous____________A721 means
Chat gpt vadu bro
@@tharunkumar-kb1yw correct code ravatam ledhu bro
import math
def minimum_binary(n:int):
mask = bin(n)[2:]
counter =0
for i in mask:
if i=='1':
counter+=1
print(counter)
return math.pow(counter,2)-1
print(minimum_binary(10))
How to apply???
Pls anyone respond!
better approach uses O(n) complexity
used only one loop in this code
#include
using namespace std;
int OperationsBinaryString(int num){
int count = 0;
while(num){
count += num & 1;
num>>= 1;
}
return count;
}
int smallestnum(int num){
if(num == 1)1;
int count = OperationsBinaryString(num);
return (1
Keep cognitive questions please tomorrow is my test
Which collage
@@sunnyyashu keshav Memorial Institute of Commerce and Sciences
@@_BRohini how did it go?
When you got congratulations mail and what role
The test was conducted online or in clg?