Given an array of integers and an integer k , for each element x in the array one can construct a slice of the array that includes x and k – 1 elements…
Hyperproof has a feature called Automated Controls Testing , where our users can write tests against data fetched from our Hypersyncs (integrations). Th…
Task: Implement the following problem Write a unit test for the implementation We want to implement an income calculator that, given a compensation pack…
Partition Array Such That Maximum Difference Is K You are given an integer array nums and an integer k . You may partition nums into one or more subsequ…
GET /api/bootstrap Request input: User Id Response: address, consumer, and payment data { “consumerId”: “1bef988e-e544-11ed-b5ea-0242ac120002”, “roles”:…
In a data cleaning pipeline, engineers optimize text datasets by alternately removing substrings: Alex removes substrings with an odd number of vowels i…
Given an unsorted array of integers nums , return the length of the longest consecutive elements sequence. You must write an algorithm that runs in O(n)…
Restaurant Waitlist API Use your API to get a party from a FIFO waitlist. Your API needs to: add a party to the waitlist remove a party from the waitlis…
Online coding judge Registered users Contest has a start time and end time (next Sunday 10 AM to 5 PM PST) Upon start, users get access to 10 problems U…
Design a 1:1 Messaging App Requirements Conversations User sees a list of conversations, with the most recently active conversations first. Scrolling do…
Count Connected Components in a Binary Matrix Given a binary matrix, count the number of connected components formed by the cells with value 1 . Cells a…
Input is a string and a maximum width length. If a word is too long to fit into one line, we change line and move it to the other line. Implement a Pyth…
Implement a FileStorage Library You are tasked with implementing a library for managing file storage in a cloud-based application. The library should al…
You are given a graph with X and Y axes. Each axis represents positive integers. We will plot a graph based on given X and Y points. Starting from (0,0)…
Goal Extract the vehicles with no associated vehicle parts. Requirements Expected column: vehicle_id 这道 SQL 题考查的是如何找出“没有匹配记录”的主表数据,核心思路通常是使用 LEFT JOIN 连…
Before you begin This challenge is about processing real-time data from a webhook hosted by the Massachusetts Bay Transportation Authority (MBTA). For c…
Implement a Merger class that accepts a batch of data from each sensor and merges the batches into a single output stream sorted by timestamp. We have N…
Legiana, a Lyft user, is reviewing his rides from a specific day. However, the application is not retrieving the complete data for the rides, and they a…