Interviews
开始使用
准备
准备
新
与我们合作推广 ->
价格
登录 / 注册
获得完整访问权限
Transfer List
框架
React
Angular
Vue
Svelte
作者
Yangshun Tay
Ex-Meta Staff Engineer
语言
难度
中等
建议在面试中花费的时间
3
0
分钟
30分钟
Build a component that allows transferring of items between two lists.
Requirements
There are two lists each initially containing 4 items.
Each item has a checkbox that can be checked/unchecked.
Transferring
Clicking on the double arrow buttons will transfer all items from one list to the other, as specified by the direction of the arrows.
Clicking on the single arrow buttons will transfer only the selected items, as specified by the direction of the arrows.
Transferred items are added to the bottom of the destination list.
Item selection (checked) states are preserved after transferring.
Buttons are disabled if there are no relevant items to be transferred.
预览您需要构建的内容
在这些公司提问
高级版功能
购买高级版以查看出题公司。
查看计划
查看解决方案
Click to go back
Click to go forward
Refresh preview
标记为已完成
保存到云端
描述
解决方案
已保存的代码
Transfer List
框架
React
Angular
Vue
Svelte
作者
Yangshun Tay
Ex-Meta Staff Engineer
语言
难度
中等
建议在面试中花费的时间
3
0
分钟
30分钟
Build a component that allows transferring of items between two lists.
Requirements
There are two lists each initially containing 4 items.
Each item has a checkbox that can be checked/unchecked.
Transferring
Clicking on the double arrow buttons will transfer all items from one list to the other, as specified by the direction of the arrows.
Clicking on the single arrow buttons will transfer only the selected items, as specified by the direction of the arrows.
Transferred items are added to the bottom of the destination list.
Item selection (checked) states are preserved after transferring.
Buttons are disabled if there are no relevant items to be transferred.
预览您需要构建的内容
在这些公司提问
高级版功能
购买高级版以查看出题公司。
查看计划
接下来试试这些题目
Transfer List II
难度
困难
类似问题
Todo List
难度
中等
解决方案
在新页面上查看完整解决方案
前往解决方案
您必须登录才能查看您的保存版本
文件资源管理器
App.js
styles.css
public
index.html
src
App.js
index.js
styles.css
package.json
目前,无法创建或重命名文件。在面试期间,将多个组件写入单个文件中是可以接受的。
主题
Active4D
All Hallows Eve
Amy
Birds of Paradise
Blackboard
Brilliance Black
Brilliance Dull
Chrome DevTools
Clouds Midnight
Clouds
Cobalt
Cobalt2
Dawn
Dracula
Dreamweaver
Eiffel
Espresso Libre
GitHub Dark
GitHub Light
GitHub
IDLE
Katzenmilch
Kuroir Theme
LAZY
MagicWB (Amiga)
Merbivore Soft
Merbivore
Monokai Bright
Monokai
Night Owl
Nord
Oceanic Next
Pastels on Dark
Slush and Poppies
Solarized-dark
Solarized-light
SpaceCadet
Sunburst
Textmate (Mac Classic)
Tomorrow-Night-Blue
Tomorrow-Night-Bright
Tomorrow-Night-Eighties
Tomorrow-Night
Tomorrow
Twilight
Upstream Sunburst
Vibrant Ink
Xcode_default
Zenburnesque
iPlastic
idleFingers
krTheme
monoindustrial
加载编辑器
主题
Active4D
All Hallows Eve
Amy
Birds of Paradise
Blackboard
Brilliance Black
Brilliance Dull
Chrome DevTools
Clouds Midnight
Clouds
Cobalt
Cobalt2
Dawn
Dracula
Dreamweaver
Eiffel
Espresso Libre
GitHub Dark
GitHub Light
GitHub
IDLE
Katzenmilch
Kuroir Theme
LAZY
MagicWB (Amiga)
Merbivore Soft
Merbivore
Monokai Bright
Monokai
Night Owl
Nord
Oceanic Next
Pastels on Dark
Slush and Poppies
Solarized-dark
Solarized-light
SpaceCadet
Sunburst
Textmate (Mac Classic)
Tomorrow-Night-Blue
Tomorrow-Night-Bright
Tomorrow-Night-Eighties
Tomorrow-Night
Tomorrow
Twilight
Upstream Sunburst
Vibrant Ink
Xcode_default
Zenburnesque
iPlastic
idleFingers
krTheme
monoindustrial
加载编辑器
浏览器
控制台
Click to go back
Click to go forward
Refresh preview
过滤日志
按日志级别筛选
所有日志级别
信息
警告
错误
JavaScript 控制台
console.log()
语句将显示在此处。
标记为已完成
保存到云端