Skip to content

Commit affa319

Browse files
committed
Reorganize folder, add problem, update README
Reorganize folders - Created "sites" folder - Moved googlecodejam and leetcode into it Added problem - LongestCommonPrefix Update README - Added links for Google Code Jam - Updated links after folder re organization
1 parent 213fb16 commit affa319

25 files changed

+193
-16
lines changed

README.md

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11

22
# Table of Contents
3-
1. [Keywords To Remember](#keywords-to-remember)
3+
1. [Algorithms and Data Structures](#algorithms-and-data-structures)
44
2. [System Design Questions](#system-design-questions)
5-
3. [Java Concepts](#java-concepts)
5+
3. [Java OOP Concepts](#java-oop-concepts)
66
4. [Algorithm References](#algorithm-references)
77

88
# TODO (add)
99
C++ Concepts
1010

11-
# System Design Questions
12-
Large scale system design and object oriented design questions and topics [Link](System-Design-Questions/README.md)
11+
# [System Design Questions](System-Design-Questions/README.md)
12+
Large scale system design and object oriented design questions and topics
1313

14-
## Table of Contents
14+
## Topics
1515
1. Keywords To Remember
1616
2. Infrastructure Design Questions
1717
3. System Design Questions
1818
4. Object Oriented Design Questions
1919
5. External References
2020

21-
# Java Concepts
22-
Short sample programs to demonstrate the inbuilt object oriented concepts in Java language. [Link](Java-Concepts/README.md)
21+
# [Java OOP Concepts](Java-Concepts/README.md)
22+
Short sample programs to demonstrate the inbuilt object oriented concepts in Java language.
2323

24-
## Table of Contents
24+
## Topics
2525
1. Generics
2626
2. Equility
2727
3. String Representation of Object
@@ -42,20 +42,35 @@ Short sample programs to demonstrate the inbuilt object oriented concepts in Jav
4242

4343
# Algorithms and Data Structures
4444

45-
| Problem | Java | C++|
46-
|:--|--:|--:|
47-
| Reverse String [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/879/) | [ReverseString.java](leetcode/ReverseString.java) | [ReverseString.cpp](leetcode/ReverseString.cpp) |
48-
| Reverse Integer [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/880/) | ? | [ReverseInteger.cpp](leetcode/ReverseInteger.cpp) |
49-
| First unique character in a string [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/881/) | ? | [FirstUniqueCharacter.cpp](leetcode/FirstUniqueCharacter.cpp) |
50-
| Valid anagram [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/882) | ? | [ValidAnagram.cpp](leetcode/ValidAnagram.cpp) |
51-
| Valid palindrome [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/8823) | ? | [ValidPalindrome.cpp](leetcode/ValidPalindrome.cpp) |
52-
| [link]() | ? | []() |
45+
1. Algorithms
46+
2. [LeetCode](#leetcode)
47+
3. [Google CodeJam](#google-codejam)
48+
5349

5450
1. Contains chapter code and programming exercise solutions to Princeton
5551
Algorithms [Part 1](https://www.coursera.org/learn/algorithms-part1/) and [Part2](https://www.coursera.org/learn/algorithms-part2/)
5652
2. Other general data structures and algorithms
5753
3. Explanation & solutions to Google Code Jam programming competitions
5854

55+
56+
## Leetcode
57+
| Problem | Java | C++|
58+
|:--|--:|--:|
59+
| Reverse String [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/879/) | [ReverseString.java](sites/leetcode/ReverseString.java) | [ReverseString.cpp](sites/leetcode/ReverseString.cpp) |
60+
| Reverse Integer [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/880/) | ? | [ReverseInteger.cpp](sites/leetcode/ReverseInteger.cpp) |
61+
| First unique character in a string [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/881/) | ? | [FirstUniqueCharacter.cpp](sites/leetcode/FirstUniqueCharacter.cpp) |
62+
| Valid anagram [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/882) | ? | [ValidAnagram.cpp](sites/leetcode/ValidAnagram.cpp) |
63+
| Valid palindrome [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/8823) | ? | [ValidPalindrome.cpp](sites/leetcode/ValidPalindrome.cpp) |
64+
| Longest Common Prefix [link](https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/887/) | ? | [Brute Force 1](sites/leetcode/LongestCommonPrefixMethod1.cpp) <br/> [Brute Force 2](sites/leetcode/LongestCommonPrefixMethod2.cpp) <br/> [Using Trie](sites/leetcode/LongestCommonPrefixMethod3.cpp) |
65+
| [link]() | ? | []() |
66+
67+
## [Google CodeJam](sites/googlecodejam/README.md)
68+
1. Google Code Jam 2018
69+
2. Google Code Jam 2020
70+
71+
## Algorithms
72+
73+
5974
* Union Find
6075
* [Quick Find](generic/union-find/QuickFind.java)
6176
* [Quick Union](generic/union-find/QuickUnion.java)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)