Category: Topological sort coding problem# DAG Order Validator Given a Directed Acyclic Graph (DAG) and a list of nodes, determine if the list represents a valid topological sort...Input: Graph (nodes and edges) Output: Computed result
codingMediumVerified Question#2
2. Expression Evaluator
Category: String coding problem# Expression Evaluator You need to design and implement an expression evaluator that parses and computes mathematical expressions formatted in...Input: String Output: Computed result
codingMediumVerified Question#3
3. Knight Moves on Phone
Category: String coding problem# Knight Moves on Phone This problem is split into two parts.Input: List Output: Integer
codingMediumVerified Question#4
4. Price Change Aggregator
Category: Algorithm coding problem# Price Change Aggregator You are building a system to aggregate price updates from multiple feeds to reconstruct the price history of an asset.Input: List Output: Computed result
codingMediumVerified Question#5
5. Social Network Friend Suggester
Category: Array coding problemBuild a friend recommendation system for a social network. Given n users (indexed 0 to n - 1) and a list of existing friendships (undirected...Input: Array Output: Array
codingMediumVerified Question#6
6. Minimum Sum Tree Path
Category: Binary tree coding problem# Minimum Sum Tree PathInput: Binary tree Output: Computed result