Implement a simplified version of Sigma’s core product. We provide a few starter classes, Column , DataWarehouseTable , and DataWarehouse , and your tas…
Given a grid, there are A ‘s, B ‘s, and 0 ‘s. Find the shortest distance between any A and any B . You can move in the four directions: up, down, left,…
1. Retail Inventory A retail inventory management system developed in Java has Product and PerishableProduct classes representing items in the inventory…
Build an app to help grandparents divide their giving budget among their grandchildren. Write a program that calculates the number of lucky gifts (equal…
Given an array of integers numbers , compare the sum of elements on even positions against the sum of elements on odd positions (0-based). Return “even”…
You are given a matrix of integers matrix containing only zeros and ones. Let’s call an x-shape a figure with a center at some cell of matrix and 4 diag…
1. Standard Normal Distribution For a standard normal distribution, what are its mean and variance? Pick ONE option. 2. Probability – II In a family, th…
You are given a set of nut hiding locations and must implement a class that supports hiding and retrieving nuts. Each location has a fixed number of lev…
Amazon OA Interview Question: Maximize the Sum of Channel Medians Amazon’s AWS provides fast and efficient server solutions. The developers want to stre…
You have an array of integers audiobooks where audiobooks[i] is the amount of time in minutes needed to listen to the i -th audiobook fully. You are lis…
Implement a simplified version of a banking system. Plan your design according to the level specifications below: Level 1: The banking system should sup…
1. IPO share allocation An initial public offering (IPO) refers to the process of offering shares of a private corporation to the public in a new stock…
There are two wooden sticks of lengths A and B respectively. Each of them can be cut into shorter sticks of integer lengths. Our goal is to construct th…
Implement the function filter_words(words, letters) which takes as input: a list of strings words , with the words to filter a string letters , used to…
6. Adding Connections In a TikTok-like social media platform, users are either verified or unverified. Unverified users cannot interact with each other…
Implement a Python application for managing a bookstore’s inventory. The application should allow adding books, finding highest-rated books, and recomme…
Each cycle, one of the three events happens: Option 1: If there are at least conversionRate P resources, then the last conversionRate P resources are re…
Write a function that parses a JSON string. The function should handle one of the three errors below: Invalid JSON: The input string is not valid JSON….
You need to label a large number of files from 1 to N, but one number key on your labeler is broken. Write a program that prompts the user for N and the…