You are given a database that describes N six-sided boxes, where one side of each box is open (no flaps). Each box has a unique integer ID and is defined by three dimensions: width, height, and length. Your task is to determine which boxes, if any, can fit inside other boxes, in order to consolidate space. A box A can fit inside box B if its base (length × width) can be completely placed within B’s base, in any rotational order. That means both dimensions of A’s base must be strictly smaller than the corresponding dimensions of B’s base, even after considering rotation (i.e., min(LA, WA) < min(LB, WB) and max(LA, WA) < max(LB, WB)). Additionally, box B’s height must be greater than or equal to box A’s height. You are expected to output valid box containment chains, where each box fits inside the next. An example of such an output chain might look like: A → C → Q → B or M → D → Z or R → O → E → Y, and so on. The idea is to show the maximum possible nesting or consolidation paths, based on the given dimension rules.
Software Engineer New Grad Interview Questions
3,069 software engineer new grad interview questions shared by candidates
Custom Index Engine - Design and implementation
Consider the browser search where you type an URL. You need to keep track of the history and to print the most recent URLs the user searched. More or less LRU cache.
Given a string, rearrange it in decreasing order by the characters frequency and in lexicographical order if their frequency is equal.
one problem was about string manipulation, the other on heap
Remove every nth element from cyclical elements and return the index
Why do you want to work at Bloomberg?
Word Search II - Leetcode Reverse Nodes in K Group - Leetcode
Bloomberg tagged questions on Leetcode
Write this code recursively, nested for loop time complexity, etc
Viewing 2831 - 2840 interview questions