0% found this document useful (0 votes)
76 views1 page

Coding Interview Questions

The document lists various coding interview questions along with their summaries and links for further reference. Topics include algorithms for trading systems, graph traversal, and data structure manipulation. Each entry provides a brief description of the approach or method used to solve the problem.

Uploaded by

joegiotto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views1 page

Coding Interview Questions

The document lists various coding interview questions along with their summaries and links for further reference. Topics include algorithms for trading systems, graph traversal, and data structure manipulation. Each entry provides a brief description of the approach or method used to solve the problem.

Uploaded by

joegiotto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Coding_Interview_Questions

# Title Summary Link

1 Top K Frequent Words HashMap + Heap + Sort

2 Fractional Stock Trading System Broker trades only integer shares; client trades fractional. Match buying/selling to minimize holdings. https://leetcode.com/playground/4oRujNmW

3 Maximum Multiplier Path DFS solution on graph/tree

4 Leetcode 375 Variant Unclear; likely range-based DP

5 Reverse Linked List + Pairwise Reverse Reverse whole list; then reverse pairs

6 Fractional Shares Sorting Sort output properly; otherwise test cases fail https://leetcode.com/playground/4oRujNmW

7 Microservice Dependency Topological Sort with 'ignore non-existent'; DFS-based with depth count https://leetcode.com/playground/Gn8SpaRJ

8 Student Course Graph DAG traversal to nd required course sequence

9 Task Scheduler (LC621) Greedy + MaxHeap

10 Buy & Sell Orders Heap-based matching of buy/sell orders https://leetcode.com/discuss/post/1052406/robinhood-telephonic-interviewreject-by-el99b/

11 Referral Count DFS + memoization, sort by count & lex

12 Commit O set Two approaches: O(n) with set, O(1) with index tracking

13 Margin Call Calculate if user's equity falls below margin requirement https://leetcode.com/playground/XfAK8ggA

14 House and Street Trade Match Exact match > attribute match > o setting match https://leetcode.com/playground/k3HaoUmm

15 Candlestick Chart Bucket trade prices into 10s intervals https://leetcode.com/playground/bNfFfg23

16 Trade Stock Greedy trading logic based on value https://leetcode.com/playground/74RoPVu4

17 Event Window Layout Assign left/width for overlapping events

18 O set Ordering Ensure logs are applied in correct sequence https://leetcode.com/discuss/interview-question/3158526/O set-Ordering

19 Candlestick + Service DAG Graph + price tracking combo https://leetcode.com/discuss/interview-question/1681871/Robinhood-or-VO-or-Sta

20 Portfolio Optimization Maximize return w/ constraints https://leetcode.com/playground/D8HmPNdG

21 Simpli ed Microservice Dependency Skip topo sort; simple DFS w/ count

22 Access Log Merge log entries, dedupe & sort https://leetcode.com/playground/dFdc67iQ

23 Course Schedule Topological sort, detect cycles https://leetcode.com/playground/DpnHmSbS

24 Badge Record Interval computation from badge events https://leetcode.com/playground/XprywfeP

25 Max Subtree Sum in Tree DFS w/ return value aggregation

26 Max Pro t from Tasks Greedy by deadline + pro t https://www.geeksforgeeks.org/weighted-job-scheduling/

27 Process String Logs String parsing + merge intervals

28 Permutation Substring Check (LC438) Sliding window + count match

29 Median of Odd-length Subsequences Heap tracking + rolling update

30 Trade Matcher Multi-stage match: exact > attr > o set

31 Stock Trade w/ Cash Constraint Sell highest value stock rst

32 Greedy Max Pro t Optimal buy/sell timing https://www.1point3acres.com/bbs/thread-680114-1-1.html

33 Print All Paths in DAG BFS traversal + path count

34 Min/Max/First/Last per Time Window Sliding window summary

35 Candlestick w/ Empty Buckets Propagate last price to ll gaps

36 Packet Commit Simulation Marking sequence progress

37 LC1249 - Remove Min Parentheses Stack + index set

38 LC1801 - Total Share Traded Buy/Sell heap logic

1
ff
fi
fi
ff
fi
fi
fi
fi
fi
ff
ff
ff
f

You might also like