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

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

Awesome Lists containing this project

README

        

# coding-challenges

![Language](https://img.shields.io/badge/language-Java%20%2F%20Go-blue.svg) 

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 |