let's start Code

Longest Increasing Subsequence (LIS)

Resource: Longest Increasing Subsequence (GFG)  LIS and variation   ডাইনামিক প্রোগ্রামিং এ হাতেখড়ি-৪  Problem: 990 - Diving for Gold  1501. Sense of Beauty  1167. Bicolored Horses  231 - Testing the CATCHER  10926 - How Many Dependencies?  10000 - Longest Paths  XMEN   SOLUTTION 10635...
Share:

Some Basic DP Problem Solution

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters ...
Share:

Program for Fibonacci numbers

Code: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters ...
Share:

কয়েন চেঞ্জ + রক ক্লাইম্বিং

ডাইনামিক প্রোগ্রামিং এ হাতেখড়ি-৩ (কয়েন চেঞ্জ + রক ক্লাইম্বিং) Problem: 1017. Staircases 11331 - The Joys of Farming 11137 - Ingenuous Cubrency  Others Problem Solution: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently...
Share:

Treap (Cartesian tree)

Resources: E-maxx Algorithms Thread Episode 9: Treaps  carpanese blog  quora-Part-1  Part 2  Cf blog 0  CF Blog 1  CF blog 2 Cf blog 3  Cf blog 4  ACM Cairo Science   Youtube: 2.5+ hours lecture  Algorithm Live  Implementation:        ...
Share:

Sqrt Decomposition

Resoures: E-Maxx Shafayet blog  Rezwan's CP Blog   Anudip blog  Tanvir's Blog  MO'S Algo  One problem-solution discussion 2D SQRT  MO’s Algorithm (Query square root decomposition) Mo's algorithm (HackerEarth) GeeksForGeeks CF blog: 1 2 Cf blog3  CF blog4 [Tutorial] Two ways to apply Mo's...
Share:

C. Codejamon Cipher

C. Codejamon Cipher Explanation: Google Dynamic Programming Problem (APAC 2017 Round D)  Code:   This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file...
Share:

0/1 KnapSack

Resources:  GeeksForGeeks HackerEarth  Codeforces  CF blog    Code: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in...
Share:

E-maxx training part - 04

Minimum stack / Minimum queue Implementation  Sparse Table RMQSQ - Range Minimum Query   SOLUTION THRBL - Catapult that ball Matchsticks Sereja and D D. CGCDSSQ D. R2D2 and Droid Army B. Maximum of Maximums of Minimums TNVFC1M - Miraculous DCP-19: Multiplication Interval D. Animals and Puzzle E. Trains...
Share:

Sparse Table

Note: Sparse Table is a data structure, that allows answering range queries. It can answer most range queries in span class="MathJax" data-mathml="O(log⁡n)" id="MathJax-Element-1-Frame" role="presentation" style="position: relative;" tabindex="0">O(logn), but its true power is answering range minimum queries (or equivalent range maximum...
Share:

About

let's start CODE

Popular Posts