https://github.com/snimmagadda1/coding-challenges
🧠Collection of coding challenges to keep sharp
https://github.com/snimmagadda1/coding-challenges
algorithms algorithms-and-data-structures data-structures go golang java leetcode leetcode-go leetcode-golang leetcode-java leetcode-solutions
Last synced: 24 days ago
JSON representation
🧠Collection of coding challenges to keep sharp
- Host: GitHub
- URL: https://github.com/snimmagadda1/coding-challenges
- Owner: snimmagadda1
- License: mit
- Created: 2019-06-08T19:55:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-18T00:24:50.000Z (about 4 years ago)
- Last Synced: 2025-02-05T15:42:44.117Z (3 months ago)
- Topics: algorithms, algorithms-and-data-structures, data-structures, go, golang, java, leetcode, leetcode-go, leetcode-golang, leetcode-java, leetcode-solutions
- Language: Java
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# coding-challenges
Â
Personal collection of solutions to problems from a number of sources. First pass may be a less than optimal solution. Optimizations will be made iteratively.
Currently:
- [LeetCode](https://leetcode.com/problemset/all/)
- [Codility](https://app.codility.com/programmers/lessons/1-iterations/)## LeetCode
### Algorithms
| # | Title | Solution | Time | Space | Difficulty |
|-----|---------------- | --------------- | --------------- | --------------- | ------------- |
#1 | [Two Sum](https://leetcode.com/problems/two-sum/) | [Java](./java/LeetCode/TwoSum.java)/[Go](./golang/LeetCode/two-sum/main.go) | O(n) | O(n) | Easy |
#2 | [Add Two Numbers](https://leetcode.com/problems/add-two-numbers/) | [Java](./java/LeetCode/AddTwoNumbers.java) | TODO | TODO | Medium |
#3 | [Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/) | [Java](./java/LeetCode/LengthOfLongestSubstring.java) | TODO | TODO | Medium |
#7 | [Reverse Integer](https://leetcode.com/problems/reverse-integer/)| [Java](./java/LeetCode/ReverseInteger.java)/[Go](./golang/LeetCode/reverse-integer/main.go) | O(log(n)) | O(1) | Easy |
#8 | [String to Integer (atoi)](https://leetcode.com/problems/string-to-integer-atoi/) | [Java](./java/LeetCode/AtoI.java) | TODO | TODO | Medium |
#9 | [Palindrome Number](https://leetcode.com/problems/palindrome-number/)| [Go](./golang/LeetCode/palindrome-number/main.go) | O(log(n)) | O(1) | Easy |
#13 | [Roman to Integer](https://leetcode.com/problems/roman-to-integer/)| [Go](./golang/LeetCode/roman-to-integer/main.go) | O(n) | O(n) | Easy |
#14 | [Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix/)| [Go](./golang/LeetCode/longest-common-prefix/main.go) | O(n) | O(1) | Easy |