4fe8a67ea6
added algo for checking the number is power of four or not ( #1360 )
...
* added algo for checking the number is power of four or not
* Update IsPowerofFour.js
* Update IsPowerofFour.js
* fix code style
* used proper JSDoc comment and fixed test issues
* fixed test case issue
---------
Co-authored-by: madhuredra <madhuredra.tiwari@zemosolabs.com>
2023-09-22 14:51:29 +05:30
78f023fdd1
algorithm: Log2 using bitwise operations ( #1132 )
2022-10-09 17:36:23 +05:30
8461271fc8
added check for Integer ( #1137 )
2022-10-07 17:16:28 +05:30
80cea0884b
merge: Add testcases of BinaryCountSetBits function ( #922 )
2022-03-15 14:39:18 +05:30
d6364548aa
Check if number is already power of two
2021-10-11 20:24:38 +03:00
372348f64c
add algorithm that calculates next power of two
2021-10-11 20:13:36 +03:00
8812f63ba2
Small fixes + comply with JS standard styles.
2021-10-09 12:23:49 +02:00
7ce688b9db
Updated the code and did the required changes
2021-10-08 21:20:21 +05:30
e978f4365d
Add code and tests for checking power of 2
2021-10-08 15:41:45 +05:30
504dbb0c30
Statement changes Added
2021-07-05 16:25:23 +05:30
58fca82ec3
Changed Test statement
2021-07-05 11:09:46 +05:30
51a9126053
Added SetBit.js, SetBit.test.js in Bit-Manipulation directory
2021-07-04 21:47:53 +05:30