diff --git a/Hackerrank problem (Network Stream) solutions.py b/Hackerrank problem (Network Stream) solutions.py new file mode 100644 index 00000000..acdad3b4 --- /dev/null +++ b/Hackerrank problem (Network Stream) solutions.py @@ -0,0 +1,19 @@ +def largeRepackagedPacket(arr): + twoP=[int(2**i) for i in range(31)] + x=0 + ans=0 + for i in arr: + i=i+x + for j in range(31): + if i