JAVAAID community: RU-vid recently changed the way they monetize my content. My channel now needs 1,000 subscribers so it would be awesome if you could show your support by both watching my videos and subscribing to my channel if you haven’t already done so. Monetizing my videos allows me to invest back into the channel with new equipment so a small gesture from you goes a huge way for me. Many thanks for your support!
This is the problem I wasn't able to get in HackerRank. I checked the comments, sample output but still didn't get it. Thanks for sharing it. Now this particular problem is clear to me.
Thanks a lot for your compliment Raju. It really motivates me to provide better content for you all. May i know what you like the most in this tutorial ?it will help me to create better content in future.
@@JavaAidTutorials sir I loved the way you divided the tutorial in small patterns please do make more videos like this and sir I wanted to know how I can get a job in data science as I'm a Bsc grad..thanks..
Thanks for the feedback Raju. Will keep on adding more stuff but it definitely requires love and support from you all. Do lot of practice and make yourself comfortable with all techniques/terminology which requires to become a data science engineer. You have to put extra effort as you are holding B.SC degree.
thanks for the feedback @Abhishek but it would be great if you can explain where exactly you feel it should be zoom in like while reading hackerrank problem etc.. you can use timestamp of this video as well.
@@JavaAidTutorials a lot of space remains between screen and the problem if both the problem and the code will be zoomed it'll be better or you can try to increase the font of code as well.
but we are taking only one array as input. How is it possible because we have to take a new array for each member. Also i think we are doing or of the bits of same team member. Or maybe im high:)
program in c /* ACM ICPC proble, There are a number of people who will be attending ACM-ICPC World Finals. Each of them may be well versed in a number of topics. Given a list of topics known by each attendee, you must determine the maximum number of topics a 2-person team can know. Also find out how many ways a team can be formed to know that many topics. Lists will be in the form of bit strings, where each string represents an attendee and each position in that string represents a field of knowledge, 1 if its a known field or 0 if not. For example, given three attendees' data as follows: 10101 11110 00010 input 4 5 10101 11100 11010 00101 output 5 2 */ #include #include #include int main() { int n,m; scanf("%d %d",&n,&m); char* topic[n]; for(int i=0;i
I am a beginner in java and I need your help. You wrote this line { new BigInteger(topic[i],2) } I want to ask why is this '2' supplied in BigInteger ?
Because if you look the given constraint n and m value can go up to 500 character string in binary which will be a huge number and integer wil not be able to handle it. that is the reason i have used BigInteger and it also provides various inbuilt functions and one function bitCount() also i have not written , its there already which helped me to write less.
Sir,THIS APPROACH IS GOOD OR NOT? #include using namespace std; int main() { int n,i,c=0,l=0; int m; cin>>n; cin>>m; vectorinput(n); vectorcal(n*(n-1)/2); for(i=0;i>input[i]; } for(int k=0;k