rayhanSakib's blog

By rayhanSakib, history, 14 hours ago, In English

I am feeling weak in bitmask problems. I am facing the problem "How to think actually!!".. Could anyone help me ??

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
14 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by rayhanSakib (previous revision, new revision, compare).

»
14 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Can you provide the link to the problem ?

  • »
    »
    3 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    It's not the specific problem. I am just starting to learn bitmask.

»
14 hours ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Understand the concept of bitwise AND, OR and XOR. Then try to visualize them. Practice in pen-paper like 23 OR 39 = ?, 67 XOR 34 = ?, 24 AND 18 = ? ..... Then try solving some bitmask problems of your level.

Additional : Watch some basic bitmask problem tutorial in YT it will make things easier for you.

Note : There is a typo in you blog. I think it will be "bitmask problems" instead of "bitmask problem" fix it otherwise it will give people wrong idea.

  • »
    »
    3 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Thank you. I have fixed the typo .. I will practice on this way ..