This repo contains each session's code in form of both Jupyter Notebooks and HTML. All code is listed session wise.
Things to do:
-
Create an account on leetcode: https://leetcode.com/
-
Which programming language to use for interviews: Read here
-
Create your own github repo to upload leetcode solutions.
-
Relax and study with an open mind.
-
Simple g-docs based resume templates here
TC-2
Simple array
- https://leetcode.com/problems/find-the-difference/
- https://leetcode.com/problems/single-number-ii/
- https://leetcode.com/problems/decode-xored-array/
- https://leetcode.com/problems/find-the-original-array-of-prefix-xor/
Simple array problems
- Best time to buy and sell stocks https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
- In an array replace every element with a greatest element on the right side https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side/
- https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/description/
- https://leetcode.com/problems/build-array-from-permutation/description/
- Reverse a part of array (arr, start, end) Then solve https://leetcode.com/problems/rotate-array/description/
- https://leetcode.com/problems/trapping-rain-water/
Stack
- https://leetcode.com/problems/valid-parentheses/
- https://leetcode.com/problems/next-greater-element-i/
- https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/
- https://leetcode.com/problems/next-greater-element-ii/
Recursion
- https://leetcode.com/problems/reverse-string/
- https://leetcode.com/problems/power-of-two/
- https://leetcode.com/problems/decode-string/
- https://leetcode.com/problems/count-good-numbers/
Sliding Window
- https://leetcode.com/problems/max-consecutive-ones/
- https://leetcode.com/problems/longest-substring-without-repeating-characters/
- https://leetcode.com/problems/max-consecutive-ones-ii/ https://www.lintcode.com/problem/883/
- https://leetcode.com/problems/max-consecutive-ones-iii/
- https://leetcode.com/problems/k-radius-subarray-averages/