Skip to content

Instantly share code, notes, and snippets.

View Matthcw's full-sized avatar
🎯
Focusing

Matthew Mukalere Matthcw

🎯
Focusing
View GitHub Profile
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli '--verbose',
1 verbose cli 'rebuild',
1 verbose cli '--build-from-source' ]
2 info using npm@3.5.2
3 info using node@v8.10.0
4 info readInstalled object
5 verbose rebuild path, id [ '/home/mpsm/Documents/SocialSauceNative/android/build/nodejs-native-assets-temp-build/nodejs-native-assets-arm64-v8a/nodejs-project',
'''
O(n) sorting algorithm for sorting distinct positive integers
'''
array = [3,7,2,8,5,1,0]
#O(array) Time
n = max(array)
sortedArray = [None] * (n + 1)