An open API service indexing awesome lists of open source software.

https://github.com/lucasmls/problem-solving

:blue_book: - Leetcode, HackerRank and Daily Coding Problems, solved in Golang.
https://github.com/lucasmls/problem-solving

algorithms daily-coding-problem golang hacker-rank leet-code

Last synced: 3 months ago
JSON representation

:blue_book: - Leetcode, HackerRank and Daily Coding Problems, solved in Golang.

Awesome Lists containing this project

README

          

## Problem Solving

It's a place where i store all of the problems that i already have solved. The problems may vary from [Leet Code](https://leetcode.com) (mostly), [HackerHank](https://www.hackerrank.com/) and from [Daily Coding Problem](https://www.dailycodingproblem.com/) (kinda rarely) and all the problems were solved using [Golang](https://golang.org/).

### Daily Coding Problem
- Product numbers - [Solution](https://github.com/lucasmls/problem-solving/blob/master/productofallnumbers/productofallnumbers.go)

#### Leetcode Problems
- [Array Partition](https://leetcode.com/problems/array-partition-i/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/arraypartition/arraypartition.go)
- [Disappeared Numbers](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/disappeared_numbers/disappeared_numbers.go)
- [Greatest number of Candies](https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/greatestnumberofcandies/greatestnumberofcandies.go)
- [Smaller numbers than current](https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/howmanysmallernumbers/howmanysmallernumbers.go)
- [Jewels and Stones](https://leetcode.com/problems/jewels-and-stones) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/howmanysmallernumbers/howmanysmallernumbers.go)
- [Pascals Triangle](https://leetcode.com/problems/pascals-triangle/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/pascalstriangle/pascalstriangle.go)
- [Robot return to origin](https://leetcode.com/problems/robot-return-to-origin/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/robotreturntoorigin/robotreturntoorigin.go)
- [Sort array by parity](https://leetcode.com/problems/sort-array-by-parity) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/sortarraybyparity/sortarraybyparity.go)
- [Staircase](https://www.hackerrank.com/challenges/staircase/problem) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/staircase/staircase.go)
- [Toeplitz Matrix](https://leetcode.com/problems/toeplitz-matrix/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/toeplitzmatrix/toeplitzmatrix.go)
- [Transpose Matrix](https://leetcode.com/problems/transpose-matrix/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/transposematrix/transposematrix.go)
- [Reverse LinkedList](https://leetcode.com/problems/reverse-linked-list/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/reverselinkedlist/reverselinkedlist.go)
- [Remove Duplicates from LinkedList](https://leetcode.com/problems/remove-duplicates-from-sorted-list/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/removelinkedlistduplicates/removelinkedlistduplicates.go)
- [Remove Duplicates from Sorted LinkedList](https://leetcode.com/problems/remove-duplicates-from-sorted-list/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/removeduplicatesfromsortedlinkedlist/removeduplicatesfromsortedlinkedlist.go)
- [Merge Two Sorted LinkedLists](https://leetcode.com/problems/merge-two-sorted-lists/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/mergesortedlinkedlist/mergesortedlinkedlist.go)
- [Delete Node in a Linked List](https://leetcode.com/problems/delete-node-in-a-linked-list/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/linkedlistdeletenode/linkedlistdeletenode.go)
- [Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/intersectionoftwolinkedlists/intersectionoftwolinkedlists.go)
- [Linked List Cycle](https://leetcode.com/problems/linked-list-cycle/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/linkedlistcycle/linkedlistcycle.go)
- [Remove Linked List Elements](https://leetcode.com/problems/remove-linked-list-elements/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/linkedlistdeleteelements/linkedlistdeleteelements.go)
- [Convert Binary Number in a Linked List to Integer](https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/binarynumberinalinkedlisttointeger/binarynumberinalinkedlisttointeger.go)
- [Palindrome Linked List](https://leetcode.com/problems/palindrome-linked-list/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/linkedlistispalindrome/linkedlistispalindrome.go)
- [Number of Good Pairs](https://leetcode.com/problems/number-of-good-pairs/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/numberofgoodpairs/numberofgoodpairs.go)
- [N-Repeated Element in Size 2N Array](https://leetcode.com/problems/n-repeated-element-in-size-2n-array/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/nrepeatedelementinsize2narray/nrepeatedelementinsize2narray.go)
- [Unique Number of Occurrences](https://leetcode.com/problems/unique-number-of-occurrences/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/uniquenumbersofoccurences/uniquenumbersofoccurences.go)
- [Find Common Characters](https://leetcode.com/problems/find-common-characters/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/findcommoncharacters/findcommoncharacters.go)
- [Find Words That Can Be Formed by Characters](https://leetcode.com/problems/find-words-that-can-be-formed-by-characters/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/findwordsthatcanbeformedbycharacters/findwordsthatcanbeformedbycharacters.go)
- [Single Number](https://leetcode.com/problems/single-number/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/singlenumber/singlenumber.go)
- [Keyboard Row](https://leetcode.com/problems/keyboard-row/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/keyboardrow/keyboardrow.go)
- [Intersection of Two Arrays](https://leetcode.com/problems/intersection-of-two-arrays/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/intersectionoftwoarrays/intersectionoftwoarrays.go)
- [Uncommon Words from Two Sentences](https://leetcode.com/problems/uncommon-words-from-two-sentences/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/uncommonwordsfromtwosentences/uncommonwordsfromtwosentences.go)
- [Occurrences After Bigram](https://leetcode.com/problems/occurrences-after-bigram/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/occurrencesafterbigram/occurrencesafterbigram.go)
- [Maximum Number of Balloons](https://leetcode.com/problems/maximum-number-of-balloons/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/maximumnumberofballoons/maximumnumberofballoons.go)
- [Distribute Candies](https://leetcode.com/problems/distribute-candies/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/distributecandies/distributecandies.go)
- [Employee Importance](https://leetcode.com/problems/employee-importance/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/employeeimportance/employeeimportance.go)
- [Valid Anagram](https://leetcode.com/problems/valid-anagram/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/validanagram/validanagram.go)
- [Find the Difference](https://leetcode.com/problems/find-the-difference/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/findthedifference/findthedifference.go)
- [Shortest Completing Word](https://leetcode.com/problems/shortest-completing-word/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/shortestcompletingword/shortestcompletingword.go)
- [First Unique Character in a String](https://leetcode.com/problems/first-unique-character-in-a-string/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/firstuniquecharacterinastring/firstuniquecharacterinastring.go)
- [Kth Missing Positive Number](https://leetcode.com/problems/kth-missing-positive-number/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/kthmissingpositivenumber/kthmissingpositivenumber.go)
- [Verifying an Alien Dictionary](https://leetcode.com/problems/verifying-an-alien-dictionary/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/verifyinganaliendictionary/verifyinganaliendictionary.go)
- [Longest Palindrome](https://leetcode.com/problems/longest-palindrome/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/longestpalindrome/longestpalindrome.go)
- [Intersection of Two Arrays II](https://leetcode.com/problems/intersection-of-two-arrays-ii/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/intersectionoftwoarraysii/intersectionoftwoarraysii.go)
- [Minimum Index Sum of Two Lists](https://leetcode.com/problems/minimum-index-sum-of-two-lists/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/minimumindexsumoftwolists/minimumindexsumoftwolists.go)
- [Longest Word in Dictionary](https://leetcode.com/problems/longest-word-in-dictionary/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/longestwordindictionary/longestwordindictionary.go)
- [Longest Harmonious Subsequence](https://leetcode.com/problems/longest-harmonious-subsequence/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/longestharmonioussubsequence/longestharmonioussubsequence.go)
- [Two Sum](https://leetcode.com/problems/two-sum/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/twosum/twosum.go)
- [Set Mismatch](https://leetcode.com/problems/set-mismatch/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/setmismatch/setmismatch.go)
- [Powerful Integers](https://leetcode.com/problems/powerful-integers/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/powerfulintegers/powerfulintegers.go)
- [Isomorphic Strings](https://leetcode.com/problems/isomorphic-strings/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/isomorphicstrings/isomorphicstrings.go)
- [Contains Duplicate II](https://leetcode.com/problems/contains-duplicate-ii/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/containsduplicateii/containsduplicateii.go)
- [Word Pattern](https://leetcode.com/problems/word-pattern/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/wordpattern/wordpattern.go)
- [Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/validparentheses/validparentheses.go)
- [Make The String Great](https://leetcode.com/problems/make-the-string-great/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/makethestringgreat/makethestringgreat.go)
- [Remove All Adjacent Duplicates In String](https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/removealladjacentduplicatesinstring/removealladjacentduplicatesinstring.go)
- [Crawler Log Folder](https://leetcode.com/problems/crawler-log-folder/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/crawlerlogfolder/crawlerlogfolder.go)
- [Baseball Game](https://leetcode.com/problems/baseball-game/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/baseballgame/baseballgame.go)
- [Minimum Add to Make Parentheses Valid](https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/minimumaddtomakeparenthesesvalid/minimumaddtomakeparenthesesvalid.go)
- [Daily Temperatures](https://leetcode.com/problems/daily-temperatures/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/dailytemperatures/dailytemperatures.go)
- [Goal Parser Interpretation](https://leetcode.com/problems/goal-parser-interpretation/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/goalparserinterpretation/goalparserinterpretation.go)
- [Count the Number of Consistent Strings](https://leetcode.com/problems/count-the-number-of-consistent-strings/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/countthenumberofconsistentstrings/countthenumberofconsistentstrings.go)
- [Check If Two String Arrays are Equivalent](https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/checkiftwostringarraysareequivalent/checkiftwostringarraysareequivalent.go)
- [Find the Highest Altitude](https://leetcode.com/problems/find-the-highest-altitude/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/findthehighestaltitude/findthehighestaltitude.go)
- [Defanging an IP Address](https://leetcode.com/problems/defanging-an-ip-address/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/defanginganipaddress/defanginganipaddress.go)
- [Shuffle String](https://leetcode.com/problems/shuffle-string/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/shufflestring/shufflestring.go)
- [Running Sum of 1d Array](https://leetcode.com/problems/running-sum-of-1d-array/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/runningsumof1darray/runningsumof1darray.go)
- [Richest Customer Wealth](https://leetcode.com/problems/richest-customer-wealth/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/richestcustomerwealth/richestcustomerwealth.go)
- [Number of Steps to Reduce a Number to Zero](https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/numberofstepstoreduceanumbertozero/numberofstepstoreduceanumbertozero.go)
- [Subtract the Product and Sum of Digits of an Integer](https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/subtracttheproductandsumofdigitsofaninteger/subtracttheproductandsumofdigitsofaninteger.go)
- [Count of Matches in Tournament](https://leetcode.com/problems/count-of-matches-in-tournament/) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/countofmatchesintournament/countofmatchesintournament.go)

#### HackerHank Problems
- [Birthday Cake Candles](https://www.hackerrank.com/challenges/birthday-cake-candles/problem) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/birthdaycakecandles/birthdaycakecandles.go)
- [Compare the Triplets](https://www.hackerrank.com/challenges/compare-the-triplets/problem) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/comparethetriplets/comparethetriplets.go)
- [Diagonal Difference](https://www.hackerrank.com/challenges/diagonal-difference/problem) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/diagonaldifference/diagonaldifference.go)
- [Min max sum](https://www.hackerrank.com/challenges/mini-max-sum/problem) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/minmaxsum/minmaxsum.go)
- [Very big Sum](https://www.hackerrank.com/challenges/a-very-big-sum/problem) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/verybigsum/verybigsum.go)
- [Grading Students](https://www.hackerrank.com/challenges/grading/problem) - [Solution](https://github.com/lucasmls/problem-solving/blob/master/grading/grading.go)

#### Random Problems
- [Anagrams](https://github.com/lucasmls/problem-solving/blob/master/anagrams/anagrams.go)
- [Array Chunk](https://github.com/lucasmls/problem-solving/blob/master/arraychunk/arraychunk.go)
- [Capitalize](https://github.com/lucasmls/problem-solving/blob/master/capitalize/capitalize.go)
- [Fizzbuzz](https://github.com/lucasmls/problem-solving/blob/master/fizzbuzz/fizzbuzz.go)
- [Max common char](https://github.com/lucasmls/problem-solving/blob/master/maxcommonchar/maxcommonchar.go)
- [Palindrome](https://github.com/lucasmls/problem-solving/blob/master/palindrome/palindrome.go)
- [Plus minus](https://github.com/lucasmls/problem-solving/blob/master/plusminus/plusminus.go)
- [Reverse int](https://github.com/lucasmls/problem-solving/blob/master/reverseint/reverseint.go)
- [Reverse string](https://github.com/lucasmls/problem-solving/blob/master/reversestring/reversestring.go)
- [Simple array sum](https://github.com/lucasmls/problem-solving/blob/master/simplearraysum/simplearraysum.go)
- [Steps](https://github.com/lucasmls/problem-solving/blob/master/steps/steps.go)
- [Cars Race](https://github.com/lucasmls/problem-solving/blob/master/carsrace/carsrace.go)