自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 A1097 Deduplication on a Linked List

静态链表实现 取巧+思路清晰 但是时间复杂度比较高 可以优化insertGiven a singly linked listLwith integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each valueK, only the first node of which the value or absolute ...

2022-05-04 12:39:27 468

转载 java为什么要分为service层,dao层,controller层?

什么是三层架构?三层架构是指:视图层View、业务逻辑层Service、数据访问层DAO。他们分别完成不同的功能。View层:用于接收用户提交请求的代码Service层:系统的业务逻辑主要在这里完成DAO层:直接操作数据库的代码为了更好的降低各层之间的 耦合度(系统的复杂度,在三层架构程序设计中,采用面向抽象变成。即上层对下层的调用,是通过接口实现的。而下层对上层的真正服务提供者,是下层接口的实现类。服务标准(接口)是相同的,服务提供者(实现类)可以更换。这就实现了层间解耦合。(

2022-04-15 16:22:33 1079 1

原创 1163 Dijkstra Sequence

Dijkstra's algorithm is one of the very famous greedy algorithms.It is used for solving the single source shortest path problem which gives the shortest paths from one particular source vertex to all the other vertices of the given graph. It was conceiv..

2022-04-15 16:10:31 136

原创 1001 A+B Format (20 分)

1001 A+B Format (20 分)PAT甲级

2022-03-23 18:43:57 328

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除