</>OfferRetriever
DashboardDiscuss
NEW
Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to TikTok Questions

Lowest Common Ancestor from Serialized Tree

Medium

You are given a serialized binary tree string and a list of target node values. Return the value of their lowest common ancestor (LCA).

The serialization uses a preorder traversal format with semicolons as delimiters. # represents a null node. You may define the serialization format yourself as long as it is consistent with the examples. ...

Asked at:TikTok

More TikTok interview questions

All TikTok interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.