See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| question = """ | |
| Given an unsorted array of integers and a number n, find the subarray of length n that has the largest sum. | |
| Example: | |
| $ largestSubarraySum([3,1,4,1,5,9,2,6], 3) | |
| $ [9, 2, 6] | |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| /* | |
| Let us re-create `Promise.all` | |
| `Promise.all` method returns a promise that resolves when all of the promises in the iterable argument have resolved, | |
| or rejects with the reason of the first passed promise that rejects. | |
| Read more about `Promise.all` on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all | |
| A basic example would be something like this: | |