May 4 · 11 min read · Fixed-length chunking requires no external services, yet semantic chunking absolutely needs an Embedding API — why? The Short Answer The core idea of semantic chunking is to split text at semantic boundaries. Determining whether "two pieces of text ...
Join discussionApr 9 · 6 min read · Hello coders, Let's solve a problem today, don't worry about the pattern or solution just bring a book and a pen or open a whiteboard to illustrate. Problem for the day: Alex an adventurous traveller,
Join discussion
Apr 9 · 1 min read · Easy — Dynamic Programming | Array The Problem Find the minimum cost to reach the top of a staircase where you can climb either 1 or 2 steps at a time, and each step has an associated cost. You can start from either step 0 or step 1. Approach Use dyn...
Join discussionApr 9 · 1 min read · Medium — Array | Dynamic Programming | Divide and Conquer The Problem Find the contiguous subarray within a one-dimensional array of numbers that has the largest sum and return that sum. Approach This solution uses Kadane's algorithm, a dynamic progr...
Join discussionApr 9 · 2 min read · Medium — Dynamic Programming | Array | Kadane's Algorithm The Problem Find the contiguous subarray within an array of integers that has the largest product and return that product. Approach Use dynamic programming to track both maximum and minimum pr...
Join discussionApr 9 · 1 min read · Medium — Dynamic Programming | Array | Binary Search The Problem Find the length of the longest strictly increasing subsequence in an array of integers. A subsequence maintains the relative order of elements but doesn't need to be contiguous. Approac...
Join discussion