[Solved] Longest Binary Subsequence Less Than or Equal to K Case Contest Problem
![[Solved] Longest Binary Subsequence Less Than or Equal to K Case Contest Problem [Solved] Longest Binary Subsequence Less Than or Equal to K Case Contest Problem](https://realcoder.techss24.com/wp-content/uploads/2022/06/Solved-Longest-Binary-Subsequence-Less-Than-or-Equal-to-K-Case-Contest-Problem.png)
Longest Binary Subsequence Less Than or Equal to K: You are given a binary string s and a positive integer k. Return the length of the longest subsequence of s that makes up a binary number less than or equal to k. Note: The subsequence can contain leading zeroes. The empty string…