Python Java C Ruby JavaScript Swift Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Practice-Coding-Questions

Personal Practice Set - Doing One a Day (sometimes) in a Variety of Languages (Mostly Python)!

forthebadge


Leetcode

# Difficulty Problem Solution
1 Easy Two Sum Java, Ruby
2 Medium Add Two Numbers C
3 Medium Longest Substring Without Repeating Characters Python
4 Hard Median of Two Sorted Arrays Python
5 Medium Longest Palindromic Substring Python
6 Medium Zig Zag Conversion Java
7 Easy Reverse Integer Python
8 Medium String to Integer Ruby
9 Easy Palindrome Number C, Java, Python, Swift
10 Hard Regular Expression Matching Python
11 Medium Container With Most Water Python
12 Medium Integer to Roman Python
13 Easy Roman to Integer C
14 Easy Longest Common Prefix Python
15 Medium 3Sum Python
16 Medium 3Sum Closest Python
17 Medium Letter Combinations of a Phone Number Python
18 Medium 4Sum Python
19 Medium Remove Nth Node From End of List Python
20 Easy Valid Parentheses Java
21 Easy Merge Two Sorted Lists Java
22 Medium Generate Parentheses Python
24 Medium Swap Node in Pairs Python
26 Easy Remove Duplicates from Sorted Array C, Python
27 Easy Remove Element Python
28 Easy Implement strStr() C, Python
29 Medium Divide Two Integers Python
35 Easy Search Insert Position Go, Java, JavaScript, Scala
36 Medium Valid Sudoku Python
39 Medium Combination Sum Python
40 Medium Combination Sum II Python
46 Medium Permutations Python
53 Easy Maximum Subarray Java
54 Medium Spiral Matrix Python
56 Medium Merge Intervals Python
58 Easy Length of Last Word Python
66 Easy Plus One Python
67 Easy Add Binary Python
69 Easy Sqrt() Python
70 Easy Climbing Stairs C
83 Easy Remove Duplicates from Sorted List Python
100 Easy Same Tree Python
104 Easy Maximum Depth of Binary Tree Python
111 Easy Minimum Depth of Binary Tree Python
112 Easy Path Sum Python
136 Easy Single Number Python
137 Medium Single Number II Python
141 Easy Linked List Cycle Python
206 Easy Reverse Linked List Python
208 Medium Implement Trie Java
297 Hard Serialize and Deserialize Binary Tree Java
310 Medium Minimum Height Trees Python
733 Easy Flood Fill Python

SPOJ

# Difficulty Problem Solution
1 Easy Life, the Universe, and Everything C
2
3

Hackerrank

30 Days of Code Challenge

Day Difficulty Problem Solution
0 Easy Hello, World. Java
1 Easy Data Types Java
2 Easy Operators Java
3 Easy Conditional Statements Python
4 Easy Class vs Instance Python
5 Easy Loops Python
6 Easy Let's Review Python
7 Easy Arrays Python
8 Easy Dictionaries and Maps Python
9 Easy Recursion Python
10 Easy Binary Number Python
11 Easy 2D Arrays Python
12 Easy Inheritance Python
13 Easy Abstract Classes Python
14 Easy Scope Python
15 Easy Linked List Python
16 Easy Exceptions - String to Integer Python
17 Easy More Exceptions Python
18 Easy Queues and Stacks Python
19 Easy Interfaces Java
20 Easy Sorting Python
21 Easy Generics Java
22 Easy Binary Search Trees Java
23 Easy BST Level-Order Traversal Python
24 Easy More Linked Lists Python
25 Medium Running Time and Complexity Python
26 Easy Nested Logic Python
27 Easy Testing Python
28 Medium RegEx, Patterns, and Intro to Databases Python
29 Medium Bitwise AND Python

CTCI

Cracking the Coding Interview 6th Edition Python Solutions

# Difficulty Problem Solution
1.1 Is Unique Python
1.2 Check Permutation Python
1.3 URLify Python
1.4 Palindrome Permutation Python
1.5 One Away Python
1.6 String Compression Python
1.7 Rotate Matrix Python
1.8 Zero Matrix Python
1.9 String Rotation Python
2.1 Remove Dups Python
2.2 Return Kth to Last Python
2.3 Delete Middle Node Python
2.4 Partition Python
2.5 Sum Lists Python
2.6 Palindrome Python
2.7 Intersection Python
2.8 Loop Detection Python
3.1 Three in One Python
3.2 Stack Min Python
3.3 Stack of Plates Python
4.1 Route Between Nodes Python
4.2 Minimal Tree Python
4.3 List of Depths Python
4.4 Check Balanced Python
4.5 Validate BST Python
4.6 Successor Python
4.7 Build Order Python
4.8 First Common Ancestor Python
4.9 BST Sequences Python
4.10 Check Subtree Python
4.11 Random Node Python
4.12 Paths With Sum Python
5.1 Insertion Coming Soon
8.1 Triple Step Python
8.2 Robot in a Grid Python
8.3 Magic Index Python
8.4 Power Set Python
8.5 Recursive Multiply Python
8.6 Towers of Hanoi
8.7 Permutations Without Dups Python
8.8 Permutations With Dups Python
17.1 Add Without Plus Python

Google Foobar Challenge

# Level Problem Solution
1 1 Solar Doomsday Java
2 2 Gearing Up For Destruction Python
3 2 Lovely Lucky Lambs Python