(http://leetcode.com/2011/01/find-k-th-smallest-element-in-union-of.html) Given two sorted arrays A, B of size m and n respectively. Find the k-th smallest element in the union of A and B. You can assume that there are no duplicate elements. O(lg m + lg n) solution: 1. M...
❓ MINIMUM DIFFERENCE OR FIND ELEMENT IN INFINITE SORTED ARRAY 🐣 Order-agnostic Binary Search, Ceiling of a Number, Floor of a Number, Next Letter, Number Range, etc. 🎭 PsuendoCode 🏁🔚 Mod Binary Search Pattern 🏁🔚 start = 0, end = arr.length - 1; while (start <= end...
[1697. 检查边长度限制的路径是否存在](https://leetcode.cn/problems/checking-existence-of-edge-length-limited-paths/) [2503. 矩阵查询可获得的最大分数](https://leetcode.cn/problems/maximum-number-of-points-from-grid-queries/) [785. 判断二分图](https://leetcode.cn/problems/is-graph-bipartite...