JobsJob TrackerJob alerts

Directi ยท 111 questions

All 111Coding 99System Design 3Low-Level Design 3
  • Find maximum sum of path between any two leaf nodes in a binary treeCoding
  • 0-1 Knapsack maximum profitCoding
  • Maximum area of rectangle of 1s in a modified matrixCoding
  • Count valid letter-mapping keys for word ciphersCoding
  • Largest triangle with different vertex colors on a gridCoding
  • Find given words in a grid (Word Boggle)Coding
  • Design a data structure with O(1) minimum gap and O(logn) operationsCoding
  • Find maximum level attainable on a ladder with level changes and constraintsCoding
  • Lexicographically smallest stringCoding
  • Standard 0/1 knapsack problemCoding
  • Find Word in GridCoding
  • Uncompressed string kth characterCoding
  • Minimum steps to transform stringCoding
  • Plate picking gameCoding
  • Woodcutter heightCoding
  • Edges in shortest pathsCoding
  • Client-Server File Transfer with Dynamic UpdatesCoding
  • OS and Networking Fundamentals
  • Resume and Protocol Stack
  • Find heavier or lighter cake using weight balance queriesCoding
  • Minimum cost to repair roads and keep cities connectedCoding
  • Maximum area rectangle of ones with column swapsCoding
  • Maximum coins from bursting balloonsCoding
  • Compare Huffman encoding vs Unicode encoding lengthCoding
  • Maximum Leaf-to-Leaf Path Sum in Binary TreeCoding
  • Minimum Wine Glasses for Party GuestsCoding
  • Excel Column Name from NumberCoding
  • Probability of Exactly K Heads from Biased CoinsCoding
  • Triplet with Sum in Range (1, 2)Coding
  • Probability that Sum of Random Integers is Less than CCoding
  • Regular Expression Matching with WildcardsCoding
  • Maximum Stock Profit with Millions of EntriesCoding
  • Largest Rectangle in GridCoding
  • Minimum operations between two string states with special swapsCoding
  • Count possible probabilistic preorder traversals of a BSTCoding
  • In-memory key-value data store with sharding and TTLCoding
  • Subsequence in Binary TreeCoding
  • Kth root of NCoding
  • Convert graph to treeCoding
  • Probability of K headsCoding
  • Find PIECoding
  • Currency exchange cycleCoding
  • Maximal XOR pathCoding
  • K-Nearest NeighborsSystem Design
  • Codeforces 1661CCoding
  • HTTP vs HTTPS
  • Database Isolation Levels
  • Design PUBG Waiting QueueSystem Design
  • Find Common City Route (LCS Variant)Coding
  • Reconstruct Queue Based on Heights and CountsCoding
  • Minimum Value in Sliding Window of Size kCoding
  • Tree operations and subtree queriesCoding
  • Minimum additional jugs to buy for juice redistributionCoding
  • Minimum fee to traverse courses with jumps and switching penaltyCoding
  • Maximize calories of chocolates within budgetCoding
  • Minimum max distinct characters after character swapsCoding
  • Process node value updates and subtree sum queries on a treeCoding
  • Knight probability on a chessboard after k movesCoding
  • Maximum area triangle with different colored vertices and axis-parallel sideCoding
  • Process range minimum assignment operations on array elementsCoding
  • Find defective cake using balance queriesCoding
  • Count balanced parenthesis strings from two source stringsCoding
  • Minimize cost of removing table legsCoding
  • Find text file differences like Git commitCoding
  • Maximum Sized Rectangle in a binary ArrayCoding
  • Minimize maximum students per cakeCoding
  • Tree UpdationCoding
  • Boggle game implementationCoding
  • Toffee Shop calorie maximizationCoding
  • Costly Visit on a GridCoding
  • String to Number Mapping with RulesCoding
  • Catch The TrainCoding
  • Toffee BoxesCoding
  • Guess Your Way OutCoding
  • Build a client-server file transfer utilityCoding
  • Networking concepts, DNS, and Routing protocols
  • IP packet structure and routing problem
  • Smallest number from numeric digits without leading zerosCoding
  • Minimize max unique characters in strings via index swapsCoding
  • Modified Knapsack DP problemCoding
  • Expected fuel to move grid bricks to boundary wallCoding
  • Implement git diff functionalityLow-Level Design
  • Thread safety on balance modification functionsCoding
  • Database Indexing and B-TreesLow-Level Design
  • Calculate unoccupied space from building coordinatesCoding
  • Minimum window substringCoding
  • Minimum time for mice to eat cheeseCoding
  • Check anagrams without data structuresCoding
  • Insert element into sorted stack without extra structuresCoding
  • Maximum palindrome with k swapsCoding
  • Maximum stock profit with multiple transactionsCoding
  • Next smallest palindromeCoding
  • Maximize Dot Product by Inserting ZerosCoding
  • Number of Ways to Visit Cities with Minimum PathCoding
  • Bank Transaction Synchronization and 2D Range SearchCoding
  • Replace Question Marks in StringCoding
  • Valid String Combinations with ConstraintsCoding
  • Pathfinding Through Circles in RectangleCoding
  • Find Node to Split Tree into Three SubtreesCoding
  • Minimum Absolute Difference of Subarray Sum and TargetCoding
โ† Directi questions
  1. Interview questions
  2. Directi
  3. Tree Updation
Coding

Tree Updation

Filed under Directi

The question

Perform tree updation operations on a tree data structure.

No write-up yet. Related questions below have one.

Related Directi questions

  • Find maximum sum of path between any two leaf nodes in a binary tree
  • 0-1 Knapsack maximum profit
  • Maximum area of rectangle of 1s in a modified matrix
  • Count valid letter-mapping keys for word ciphers
  • Largest triangle with different vertex colors on a grid
โ† Minimize maximum students per cakeBoggle game implementation โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.