Rubrik was founded in December 2013 by Bipul Sinha, Arvind Jain, Soham Mazumdar, and Arvind Nithrakashyap, headquartered in Palo Alto, California, USA.
As a startup in cloud computing and data security, Rubrik provides comprehensive data security solutions.
1. Capable Models
Given n
machine-learning models, each has.
- a cost
cost[i]
- a binary string
featureAvailability[i]
indicating."00"
:: neither feature A nor B"01"
: feature A only"10"
: feature B only"11"
: both features
A set is k-capable if it contains ≥ k models supporting feature A and ≥ k supporting feature B. For each k from 1 to n, compute the minimum total cost of any k-capable set.
2. String Subsequences
Given two strings s1
(length 3) and s2
, count how many times s1
appears as a subsequence of s2
(characters in order, possibly with gaps).
Examples1 = "ABC"
s2 = "ABCBABC"
→ 5 occurrences.
function getSubsequenceCount(s1: string, s2: string): number
References
ProgramHelp provides OA ghostwriting, interview assistance, and lip-sync interview services to help you succeed.