You are here |
theweeklychallenge.org | ||
| | | |
andrewshitov.com
|
|
| | | | ||
| | | |
128bit.io
|
|
| | | | Kind of a follow up to my onMD5 hashing in Python, Ruby and Groovy posting, Here is a way of doing MD5 hashing inCoffeeScript and Perl. CoffeeScript/Node.js Perl Scala I also moved the code for Python, Ruby and Groovy into the same Gist on Github. If you know a better way feel free to fork and update! | |
| | | |
blog.nuculabs.de
|
|
| | | | Hello, Here are my solutions for the second part of the card: Arrays 101, from LeetCode. Duplicate Zeroes Given an array of integers, remove duplicate zeroes and shift the remaining elements. 1 2 3 4 5 6 7 8 9 10 11 12 13 class Solution: def duplicateZeros(self, arr: List[int]) -> None: """ Do not return anything, modify arr in-place instead. """ index = 0 arr_length = len(arr) while index < arr_length: if arr[index] == 0: arr.insert(index, 0) arr.pop() index += 1 index += 1 Merge Sorted Array Given two sorted arrays, merge them together into nums1. | |
| | | |
www.reedbeta.com
|
|
| | Pixels and polygons and shaders, oh my! |