首页 > TAG信息列表 > sama

记一个,做了挺久蛮有成就感的万恶清明sama!

    #include<stdio.h>int main(){   int n,m,a[105][105];   int max[3]={0},max1,max2;   int cnt1[105]={0},cnt2[105]={0};   scanf("%d %d",&n,&m);   for(int i=0;i<n;i++)   {     for(int j=0;j<m;j++)

【LeetCode】Sama的个人记录_65

关键在于"哈希表"的使用。 下面两种解法(迭代/递归)的写法都非常优美 >_< class Solution { public Node copyRandomList(Node head) { if (head == null) { return null; } Map<Node, Node> map = new HashMap<>(); //

博客模板

 简洁说易懂清原理      有什么不清楚或者是错误的地方欢迎在评论区指出,学生党有充足的时间来讨论哦,我是喜欢阿克娅SAMA的的阿克西斯教徒之一,力图简洁易懂说清原理,下次再会~