VO Prep
  • 🏠 Home
  • 📘 Cases
  • 🔵 About us
  • 🪙 Services & Prices
  • 📨 Contact Us
  • English
    • English
    • 中文 (中国)
  • 🏠 Home
  • 📘 Cases
  • 🔵 About us
  • 🪙 Services & Prices
  • 📨 Contact Us
  • English
    • English
    • 中文 (中国)
Google Interview Question: Implement an Aligned Memory Allocator and Free Function

Google Google Interview Question: Implement an Aligned Memory Allocator and Free Function

“””Write a memory allocation function (and corresponding free function)that returns a block of memory aligned to the specified alignment value.You may assume that the alignment is a power of 2 (1, 2, 4, 8, 16, …).“”” This Google systems-level question asks you to implement your own malloc-like function that guarantees the returned pointer is aligned…

20 Views 0 Comments
Google 2025-12-09
Google Interview Question: Implement Multiple Software Timers on a Single Hardware Timer

Google Google Interview Question: Implement Multiple Software Timers on a Single Hardware Timer

“””We have an embedded environment with a very simple operating system. Part of the facilities provided to us is a single hardware timer.The goal is to implement multiple timers, each with their own callback, based on this single timer.The hardware timer can be set with the following function:void set_hw_timer(int relative_timeout_ms);After relative_timeout_ms milliseconds have elapsed, the…

18 Views 0 Comments
Google 2025-12-09
Google Interview Question: Descending Tree Definition and Operations

Google Google Interview Question: Descending Tree Definition and Operations

“””// Write a node class to be used in a tree. A Node should contain exactly one integer and have zero or more children.“”” “””Define: a “descending tree” is a tree such that for each node n, the value of n is larger than the value of any descendant of n. Write a function that…

17 Views 0 Comments
Google 2025-12-09
Google Interview Question: Split the Gold Chain Fairly After Donating One Link

Google Google Interview Question: Split the Gold Chain Fairly After Donating One Link

“””You and a friend have received a special gold chain as a gift.The chain links each have an integer weight, not necessarily the same.You and your friend must choose one of the links to be removed and provided to charity, after which the chain will be reconnected.After that, you can choose one place along the…

15 Views 0 Comments
Google 2025-12-09
Google Interview Question: Top N Most Talkative Users from Chat Logs

Google Google Interview Question: Top N Most Talkative Users from Chat Logs

“””Imagine a log file that abridges chats. An example chat might be: 10:00 <john> hi!10:01 <maria> hello!10:07 <john> can you link the design? where john said 6 total words and maria said 1. Your goal is to present the top N most talkative users in descending order. You need to write a function that takes…

16 Views 0 Comments
Google 2025-12-09
Google Online Assessment Interview Question: Good Arithmetic Subarray Sum

Google Google Online Assessment Interview Question: Good Arithmetic Subarray Sum

An arithmetic sequence is a list of numbers with a definite pattern. If you take any number in the sequence then subtract it from the previous one, the difference is always a constant. A good arithmetic sequence is an arithmetic sequence with a common difference of either 1 or -1. For example, [4, 5, 6]…

21 Views 0 Comments
Google 2025-12-09
Meta Interview Questions: Weighted Random City Generator & Closest Value in a Binary Search Tree

Meta Meta Interview Questions: Weighted Random City Generator & Closest Value in a Binary Search Tree

This problem is a standard weighted random selection. Build a prefix-sum array based on city populations and map a random value into one of the prefix intervals. This guarantees output probabilities match the weight distribution, and repeated queries remain efficient. The key is prefix sums plus binary search for fast selection. The BST property allows…

20 Views 0 Comments
Meta 2025-12-04
Meta Interview Question: Compute Exclusive Execution Time from Function Logs

Meta Meta Interview Question: Compute Exclusive Execution Time from Function Logs

The solution uses a stack to simulate function calls. A“begin”event pushes a new frame and pauses the previous function, while an“end”event pops the function and accumulates its exclusive time based on timestamp differences. Properly tracking the previous timestamp is essential to handle nesting correctly. The VOprep team has long accompanied candidates through various major company OAs and…

17 Views 0 Comments
Meta 2025-12-04
Meta Real Interview Question: Visible Nodes from Left and Right Side Views of a Binary Tree

Meta Meta Real Interview Question: Visible Nodes from Left and Right Side Views of a Binary Tree

Standing on the left side gives the leftmost node of each level, but the ordering must be reversed from bottom to top. Standing on the right side gives the rightmost node level by level from top to bottom. The problem is solved with BFS level traversal and extracting the appropriate visible node at each level….

19 Views 0 Comments
Meta 2025-12-04
Meta Coding Interview Question: Count Ones in Any Subgrid Using a 2D Prefix Sum

Meta Meta Coding Interview Question: Count Ones in Any Subgrid Using a 2D Prefix Sum

This is the 2D extension of the range counting problem. Build a 2D prefix-sum matrix pre[i][j] for ones in the rectangle from (0,0) to (i,j), then answer any subgrid query in O(1) time using the inclusion–exclusion formula. It tests understanding of 2D prefix sums and careful boundary handling The VOprep team has long accompanied candidates through various…

22 Views 0 Comments
Meta 2025-12-04
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 16
  • »
Cases search

Contact me

  • Telegram. https://t.me/csoahelp
  • Whatsapp. +1 818 923 6994
  • Email.csonsitehelp@gmail.com
  • Wechat. csvohelp
wechat

------- WeChat QR Code↑ -----

In order to ensure that I contact and evaluate your interview and assignment as soon as possible, please indicate your specific requirements for the interview and assignment.

Code Guaranteed Unique 100% Plagiarism Free

Complete Confidentiality 100% Confidentiality

Guaranteed Quality 100% Quality Assurance

Friendly reminder

My Google rankings are based on quality and word-of-mouth, not the same as paid rankings with an Ad logo. Programhelp's rankings have never needed to be paid to make a presence.

Adobe
Amazon
Apple
Atlassian
Block
bloomberg
Circle
coinbase
Doordash
Google
LinkedIn
Meta
Microsoft
NVIDIA
OA
openai
Oracle
paloalto
Pinterest
Robinhood
Roblox
Snowflake
Stripe
Tesla
Tiktok
Two Sigma
VO
voleon
Copyright © 2010-2028 All Rights Reserved. Designed by:VOprep.com
 Theme by Puock