File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 7070 - [ Math.round] ( #mathround )
7171 - [ JavaScript Integer Max Min] ( #javascript-integer-max-min )
7272- [ Bitwise operation in JavaScript] ( #bitwise-operation-in-javascript )
73- - [ x>>y] ( #xy )
73+ - [ Right Shift x>>y] ( #right-shift-xy )
74+ - [ Left Shift x<<y] ( #left-shift-xy )
7475- [ Mock Interview] ( #mock-interview )
7576 - [ Get the Average value at each level of the tree] ( #get-the-average-value-at-each-level-of-the-tree )
7677 - [ ADT] ( #adt )
@@ -860,11 +861,19 @@ It is 16 digit number.
860861
861862## Bitwise operation in JavaScript
862863
863- ### x>>y
864+ ### Right Shift x>>y
865+
866+ Moving bit/s towards the right side in binary number.
864867
865868` x>>y ` means ` x/2^y ` divide x by 2 to the power of y.
866869
870+ ### Left Shift x<<y
871+
872+ Moving bit/s towards the left side in binary number.
873+
874+ ` 4<<2 == 0 `
867875
876+ ` x<<y ` means ` x*2^y ` multiply x by 2 to the power of y.
868877
869878## Mock Interview
870879
You can’t perform that action at this time.
0 commit comments