gpt4 book ai didi

algorithm - 4道程序设计面试题

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:39:18 25 4
gpt4 key购买 nike

<分区>

我正在准备技术面试,想知道如何才能在不涉及不必要的细节的情况下向面试官简要解释以下程序的设计方法

1. Program that lets people play tic tac toe with each other over the internet?               
2. A suitable data structure for a photo editor or text editor? Why?
3. Implementing code to operate the elevators?
4. Implementing the rendering engine of a web browser?

我可以想出以下内容:

  1. 程序主要有 2 个部分。一个处理板显示的渲染。另一个是实际的引擎,包含找到获胜着法、AI、游戏完成等的方法。然后,将有与网络相关的代码。

  2. 字符串链表似乎适合文本编辑器,因为主要元素是文本和相关操作。对象的链接列表是否适合照片编辑器?

  3. 这又涉及到电梯的显示渲染以及资源同步。

  4. 不知道如何处理这个问题。

够不够?在解决这些问题时,我是否遗漏了一些重要的细节。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com