Skip to content

Competitive programming to prepare for interviews

Notifications You must be signed in to change notification settings

yesdeepakmittal/interview-corner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive Coding using Python & Java

Leetcode Code Snippets

No. Problems Python Tag
0001 Two Sum Python Array
0009 Palindrome Number Python Recurion
0125 Valid Palindrome Python String

Other Code Snippets

Problems Python Java Tag
Armstrong Java
Patterns Java
Nearest multiple of 2 to given No. Python
Trapping RainWater Python
TernarySearch Python
Binary Search Python
Interpolation Search Python
Ceiling of Number(Binary Search) Python
Decimal to Binary Python
Combination of 2 number Python
Digit Length Java
LCM GCD Python Java
Largest Coprime Divisor Python
Maximum GCD after removing an element from array Python
All GCD Pairs Python
Subset of Array Python
Elements Greater than Itself Python Java
Rotate Array Python Array
Increasing or Decreasing Python Array
Immediate Smaller Number Python Array
Median Python Array
RangeSum_PrefixSum Python Array
Equilibrium Index Python Array
Pick From Both Sides(prefix sum) Python Array
Count ways to make sum of odd and even indexed elements equal by removing an array element Python
Leader Element in array Python Array
Even Odd Element Range Sum Python Array
AG pattern Carry Forward Python Array
Maximum Sum of Subarray Python
Maximum Sum of Subarray of length k Python
End Index of Subarrays of length k Python
Sum of all Subarrays Python
Subarray index with least average Python
Subarray with zero sum Python
Subarray with Given sum Python
Alternating Subarrays Python
Good Subarrays Python
Maximum Positive Subarrays Python
Matrix Diagonals Python
All Diagonals R to L Python
Matrix Transpose Python
Rotate Matrix 90 degree clockwise Python
Matrix Subtraction Python
Matrix Multiplication Python
Matrix Scaler Product Python
Row to Column Zero Python
Are Matrices Same ? Python
Print Boundaries element clockwise/Spiral Matrix Python
Spiral Matrix 2 Python
Spiral Matrix 3 Python
Length of longest consecutive ones Python
Longest Subarray with Zero Sum Python
Subarray Product for Colorful Number Python
Triplets Python
Triplets 2 Python
Gas Station Python
Bit Mask Python
Modular Operator Python
Single Unique Number in array Python
Two Unique Number in array Python
Unique Number in a array of k repeat elements Python
Total Set Bits till N Python
Is it a power of 2? Python
Add Binary String Python
Number of 1 bits/count set bits Python
Single Set bit Python Bits
Reverse bits Python
Maximum &(bitwise) product of 4 number Python
Pairs With Given Xor Python
Minimum Difference b/t elements Python
Closest Min Max Python
Minimum cost to remove all elements Python
Excel Column Number(AB -> 28) Python
Rectangle Overlap Python
Magical Number Python
N/3 Repeat Number Python
Noble Element Python
Noble Element 2 Python
Star Pattern Python
Star Pattern 2 Python
Minimum switch to light all bulbs Python
Reversing a Substring Python
Flip Case of String Python
Sorting a String Python
Reverse words in a String Python
Prefix String Python
Palindrome String Python
Palindrome String 2 Python
Largest Sum of an array(String) Python
Rearrange String to make it Palindrome Python
Merge Sort Python
Common Element Python
First Repeating Element Python
Closest Distance b/t Repeating Element Python
Factorial using Recursion Python
Fibonacci Number using Recursion Python
pow(a,n)%d Python
Anagram Python
First & Last index in sorted array Python
Kth Largest Number Python
Distinct elements in window size K Python
Valid Parenthesis Python
Valid Sudoku Python
Cosine Similarity b/t documents Python
Sorting Python Sorting

About

Competitive programming to prepare for interviews

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •