Skip to content

saket-anand/DSA_2023_01_29

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

DSA Content

This repo contains each session's code in form of both Jupyter Notebooks and HTML. All code is listed session wise.

Things to do:

  1. Create an account on leetcode: https://leetcode.com/

  2. Which programming language to use for interviews: Read here

  3. Create your own github repo to upload leetcode solutions.

  4. Relax and study with an open mind.

  5. Simple g-docs based resume templates here


TC-2

  1. https://leetcode.com/problems/single-number/
  2. https://leetcode.com/problems/missing-number/

Simple array

  1. https://leetcode.com/problems/find-the-difference/
  2. https://leetcode.com/problems/single-number-ii/
  3. https://leetcode.com/problems/decode-xored-array/
  4. https://leetcode.com/problems/find-the-original-array-of-prefix-xor/

Simple array problems

  1. Best time to buy and sell stocks https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
  2. 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/
  3. https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/description/
  4. https://leetcode.com/problems/build-array-from-permutation/description/
  5. Reverse a part of array (arr, start, end) Then solve https://leetcode.com/problems/rotate-array/description/
  6. https://leetcode.com/problems/trapping-rain-water/

Stack

  1. https://leetcode.com/problems/valid-parentheses/
  2. https://leetcode.com/problems/next-greater-element-i/
  3. https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/
  4. https://leetcode.com/problems/next-greater-element-ii/

Recursion

  1. https://leetcode.com/problems/reverse-string/
  2. https://leetcode.com/problems/power-of-two/
  3. https://leetcode.com/problems/decode-string/
  4. https://leetcode.com/problems/count-good-numbers/

Sliding Window

  1. https://leetcode.com/problems/max-consecutive-ones/
  2. https://leetcode.com/problems/longest-substring-without-repeating-characters/
  3. https://leetcode.com/problems/max-consecutive-ones-ii/ https://www.lintcode.com/problem/883/
  4. https://leetcode.com/problems/max-consecutive-ones-iii/
  5. https://leetcode.com/problems/k-radius-subarray-averages/

Releases

No releases published

Packages

 
 
 

Languages

  • Jupyter Notebook 100.0%