Check whether a given string is an interleaving of two other given strings.(Assume there is unique characters in both strings)
Lets understand what is the input and the expected output.
...
Home
»
Archives for March 2016
Print all interleavings of given 2 string.
in
Interviews,
Strings
- on 22:36:00
- No comments

Print all interleaving of given 2 string.
Lets understand what is the input and the expected output.
...
Check if number is Power of Two.
in
Bit Manipulation,
Interviews,
Java,
Miscellaneous
- on 12:15:00
- No comments

Check if number is power of 2.
Lets understand what is the input and the expected output.
If the number given to you is,
Case 1:
Number = 8
8 is power of 2 because 2^3 is 8
Case 2:
Number = 9
(adsbygoogle = window.adsbygoogle || []).push({});
9...