René's URL Explorer Experiment


Title: #164 - Maximum Gap - LeetCode JavaScript Solutions

Open Graph Title: #164 - Maximum Gap - LeetCode JavaScript Solutions

X Title: #164 - Maximum Gap - LeetCode JavaScript Solutions

Description: Given an integer array nums, return the maximum difference between two successive elements in its sorted form. If the array contains less th...

Open Graph Description: Given an integer array nums, return the maximum difference between two successive elements in its sorted form. If the array contains less th...

X Description: Given an integer array nums, return the maximum difference between two successive elements in its sorted form. If the array contains less th...

Keywords:

Opengraph URL: https://leetcodejavascript.com/solutions/maximum-gap

direct link

Domain: leetcodejavascript.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"Code","url":"https://leetcodejavascript.com/solutions/maximum-gap","name":"#164 - Maximum Gap - LeetCode JavaScript Solutions","description":"Given an integer array nums, return the maximum difference between two successive elements in its sorted form. If the array contains less th...","programmingLanguage":"JavaScript","codeRepository":"https://github.com/JoshCrozier/leetcode-javascript","codeSampleType":"JavaScript","text":"/**\n * @param {number[]} nums\n * @return {number}\n */\nvar maximumGap = function(nums) {\n  nums.sort((a, b) => a - b);\n  let result = 0;\n  for (let i = 1; i < nums.length; i++) {\n    result = Math.max(result, nums[i] - nums[i - 1]);\n  }\n  return result;\n};","keywords":"LeetCode 164, #164 - Maximum Gap, Medium, JavaScript solution","learningResourceType":"Code","isAccessibleForFree":true,"educationalLevel":"intermediate","interactivityType":"mixed"}

authorLeetCodeJavascript.com
og:typearticle
og:imagehttps://leetcodejavascript.com/og-image.jpg
og:site_nameLeetCode JavaScript Solutions
twitter:cardsummary_large_image
twitter:urlhttps://leetcodejavascript.com/solutions/maximum-gap
twitter:imagehttps://leetcodejavascript.com/og-image.jpg
twitter:creator@joshcrozier
theme-color#1f2937

Links:

LeetCodeJavascript.com https://leetcodejavascript.com/
Star on GitHub https://github.com/JoshCrozier/leetcode-javascript
Back to all solutions https://leetcodejavascript.com
View on LeetCode https://leetcode.com/problems/maximum-gap/
View on GitHub https://github.com/JoshCrozier/leetcode-javascript/blob/master/solutions/0164-maximum-gap.js
Array https://leetcodejavascript.com/tags/array
Sorting https://leetcodejavascript.com/tags/sorting
Bucket Sort https://leetcodejavascript.com/tags/bucket-sort
Radix Sort https://leetcodejavascript.com/tags/radix-sort
Josh Crozierhttps://joshcrozier.com

Viewport: width=device-width, initial-scale=1.0

Robots: index, follow


URLs of crawlers that visited me.