Ziphq Coding & Algorithms Interview Questions
Practice the exact questions companies are asking right now.
4Questions
1Company
4 Questions 1 Company
Showing 4 results
ZipHQ
Medium
Software EngineerMaximize non-adjacent sum on an N-ary tree
You are given an N-ary tree (each node may have 0..k children). Each node contains an integer value (can be 0 or positive). You want to select a set o...
Coding & Algorithms
0
0
Dec 26, 2025
ZipHQ
Medium
Software EngineerFind flush and straight groups in cards
You are given an array of strings cards, where each string represents a distinct playing card. Each card string has the format <rank><suit>: - rank is...
Coding & Algorithms
0
0
Nov 28, 2025
ZipHQ
Medium
Software EngineerCompute maximum sum in a tree without adjacency
Given a tree where each node has an integer value, select a subset of nodes to maximize the sum under the constraint that if you choose a node, you ca...
Coding & Algorithms
0
0
Aug 12, 2025
ZipHQ
Medium
Software EngineerFind root IDs and paths
You are given a collection of string blocks, each represented as a JSON object with fields {"id": string, "parentId": string | null}. A block is a roo...
Coding & Algorithms
0
0
Aug 11, 2025