Skip to content

singalhimanshu/Himanshu-Singal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Himanshu Singal

A repository of code for my youtube channel Himanshu Singal

Playlists:

Coding Interview Patterns

  • Two Pointer
    1. Merge two sorted lists VIDEO CODE

Bitmasking / Bitmanipulation for Competitive Programming (C++) VIDEO LINK

1. Bitmasking / Bitmanipulation 01- Introduction to bitwise operator for Competitive Programming [VIDEO LINK](https://www.youtube.com/watch?v=oL5bmRUbAJ4&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=2&t=14s) 
2. Bitmasking / Bitmanipulation 02- Basic Questions on Bitmasking for Competitive Programming [VIDEO LINK](https://www.youtube.com/watch?v=mT8NAhIL3xQ&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=3&t=0s) 
3. Bitmasking / Bitmanipulation 03- Questions on Bitmasking from hackerrank and GeeksForGeeks [VIDEO LINK](https://www.youtube.com/watch?v=aId6iahUGLI&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=3) , [Maximizing Xor](bitmasking_bitmanipulation/maximizingXor.cpp) [Unique Number 2](bitmasking_bitmanipulation/uniqueNo2.cpp) [Playing With Bits](bitmasking_bitmanipulation/playinWithBits.cpp)
4. Bitmasking/ Bitmanipulation 04- Tavas and SaDDas problem from Codeforces [VIDEO LINK](https://www.youtube.com/watch?v=-D5Hb5MoiM4&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=4) , [PROBLEM](https://codeforces.com/problemset/problem/535/B) [SOLUTION](bitmasking_bitmanipulation/tavasAndSaddas.cpp)
5. Bitmasking / Bitmanipulation 05- Unique Number 3 [VIDEO LINK](https://www.youtube.com/watch?v=1XWykHp7rys&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=5) , [Unique Number 3](bitmasking_bitmanipulation/uniqueNo3.cpp)
6. Bitmasking / Bitmanipulation 06 - Subsequences of String [VIDEO LINK](https://www.youtube.com/watch?v=G0tV-K8-8l0&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=6) , [String Subsequences](bitmasking_bitmanipulation/stringSubsequences.cpp)
7. Bitmasking / Bitmanipulation 07 - Bitset C++ STL for Competitive Programming [VIDEO LINK](https://www.youtube.com/watch?v=4a7-mVK9PyU&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=7) , [Bitset1](bitmasking_bitmanipulation/bitset1.cpp)
8. Bitmasking / Bitmanipulation 08 - Bitset (contd.) C++ STL for Competitive Programming [VIDEO LINK](https://www.youtube.com/watch?v=4a7-mVK9PyU&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=8) , [Bitset2](bitmasking_bitmanipulation/bitset2.cpp)
8. Bitmasking / Bitmanipulation 08 - Bitset (contd.) C++ STL for Competitive Programming [VIDEO LINK](https://www.youtube.com/watch?v=4a7-mVK9PyU&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=8) , [Bitset2](bitmasking_bitmanipulation/bitset2.cpp)
9. Bitmasking / Bitmanipulation 09 - Subset Sum Queries Using Bitset [VIDEO LINK](https://www.youtube.com/watch?v=4a7-mVK9PyU&list=PLX0iyO9CrCF1-4je7G0JMSr_50I0J2K3Z&index=9) , [subset_sum_queries_bitset.cpp](bitmasking_bitmanipulation/subset_sum_queries_bitset.cpp)

Sequences for Competitive Programming (C++) VIDEO LINK

1. Sequences 01 - Kadane's Algorithm for Maximum Subarray Sum Problem [VIDEO LINK](https://www.youtube.com/watch?v=pkc3X7M8Xxs&list=PLX0iyO9CrCF0KUTBhzSJC8OE7gy6U47LR&index=2) [kadane_algo_maximum_subarray_sum.cpp](Sequences/kadaneAlgo.cpp)
2. Sequences 02 - Kadane's Algorithm for Flipping Game (Codeforces) [VIDEO LINK](https://www.youtube.com/watch?v=pkc3X7M8Xxs&list=PLX0iyO9CrCF0KUTBhzSJC8OE7gy6U47LR&index=3) [flipping_game.cpp](Sequences/flippingGame.cpp)
3. Sequences 03 - Maximum Sum Subarray with Size 'k' using Sliding Window [VIDEO LINK](https://www.youtube.com/watch?v=pkc3X7M8Xxs&list=PLX0iyO9CrCF0KUTBhzSJC8OE7gy6U47LR&index=4) [maxSumSubarrayK.cpp](Sequences/maxSumSubarrayK.cpp)
4. Sequences 04 - Count Subarrays with Xor Equal to Sum using Sliding Window [VIDEO LINK](https://www.youtube.com/watch?v=pkc3X7M8Xxs&list=PLX0iyO9CrCF0KUTBhzSJC8OE7gy6U47LR&index=5) [sequences04.cpp](Sequences/sequences04.cpp)
5. Sequences 05 - Sum Range Queries using Partial / Prefix Sum [VIDEO LINK](https://www.youtube.com/watch?v=pkc3X7M8Xxs&list=PLX0iyO9CrCF0KUTBhzSJC8OE7gy6U47LR&index=6) [partialSumRangeQueries.cpp](Sequences/partialSumRangeQueries.cpp)
6. Sequences 06 - Array Range Increment Operations in Linear Time [VIDEO LINK](https://www.youtube.com/watch?v=pkc3X7M8Xxs&list=PLX0iyO9CrCF0KUTBhzSJC8OE7gy6U47LR&index=7) [rangeIncrement.cpp](Sequences/rangeIncrement.cpp)