Notes/Codes/Problem links under day 8 of A2Z DSA Course: takeuforward.org/strivers-a2z... Follow us on our other social media handles: linktr.ee/takeuforward
This problem looks very easy from explanation but after he writes code and mapping back to explanation you will know how tricky it is.... Kudos to you for putting this explanation and solution....
the observation that take set bit of 2^n index in input array as member of a subset is very theoretical & observation intensive and hard to come up with , if we have seen never before, how to deal with it @take U forward
Bruh, wonderful! , sorry I did not subscribe until now, i mean im following u from a yr, but never saw the subscribe button idk how. uff. DID IT NOW :)
never thought this problem can be solved by this approach
No one can explain this with that ease..wonderful 👏🏼👏🏼👏🏼👏🏼
This problem looks very easy from explanation but after he writes code and mapping back to explanation you will know how tricky it is....
Kudos to you for putting this explanation and solution....
Understood.....Thank You So Much for this wonderful video............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
All videos are very nice.
Awesome striver, amazing explanation
Understood. awesome video
Thank you 🙏
Understood, thank you.
understood in a easy way , thansks!!
Thank you Bhaiya
Understood❤
understood ❤
Brother i have my placement in 3 months plz continue this playlist
All the best!
Understood👍
the observation that take set bit of 2^n index in input array as member of a subset is very theoretical & observation intensive and hard to come up with , if we have seen never before, how to deal with it @take U forward
thank you
Understood 😊 all
Understood 😁❤️
understood 😀
Understood
understood
Bruh, wonderful! , sorry I did not subscribe until now, i mean im following u from a yr, but never saw the subscribe button idk how. uff. DID IT NOW :)
nice
Wow 🎉
public static void main(String[] args) {
int[] nums = {1,2,3};
int subsets = 1
#include
vector subsequences(string str){
vectorv;
int n=str.length();
int subset=(1
Bhiya ab india aa gaye ho video ki consistancy banae rakhna
Which approach is better, recursive or bitwise one?
Any day bit manipulation takes less space
c++ code
class Solution {
public:
vector subsets(vector& nums) {
int n = nums.size();
int subsett = 1
That extra n in space can be easily optimized as
int n = v.size();
n = pow(2,n);
vectorans(n);
for(int i = 0; i
01/ 06 Revise
understood
understood
understood