程序为Python代码编写,本人为程序配置了详细的博客解析,详见http://blog.csdn.net/bcj296050240/article/details/46686797
2023/11/10 19:37:54 198KB 情感分析
1
leetcodepython题解,包含大量leetcode题目的解法,源代码,python实现CourseSchedule21.4.4Numberofislands14.5HeapsMergeKSortedLinkedLists1.5.1KthLargestElementinanArray1.5.2Arrays1.62sum‖l1.62SumⅢ1.6.2ContainsDuplicate1.6.3RotateArray1.643SumSmaller1.653Sumclosest1.663Sum1.6.7TwoSum1.68PlusOne1.6.9BestTimetoBuyandSellStock1.6.10Shortestworddistance1.6.11Movezeroes1.6.12ContainsDuplicate1.6.13MajorityElement1.6.14RemoveDuplicatesfromSortedArray1.6.15NestedListWeightSum1.6.16NestedListWeightedSumIl1.6.17Removeelement1.6.18IntersectionofTwoArraysll1.6.19MergeSortedArrays1.6.20ReverseVowelsofaString1.6.21IntersectionofTwoArrays1.6.22Containerwithmostwater1.6.23ProductofArrayExceptSelf1.6.24TrappingRainWater1.6.25MaximumSubarray1.6.26BestTimetoBuyandSellStockIl1.6.27FindMinimuminRotatedSortedArray1.6.28Pascal'sTriangle1.6.29Pascal'sTriangle‖l1.6.30SummaryRanges1.6.31MissingNumber1.6.32StringsValidAnagram1.7.1Validpalindrome1.7.2WordPattern1.7.3ValidParentheses1.7.4IsomorphicStrings1.7.5ReverseString1.7.6BitManipulationSumofTwoIntegers18.1SingleNumber18.2Singlenumber‖18.3SingleNumberIll1.8.4Maths1.9ReverseInteger1.9.1Palindromenumber19.2Pow(x,n)19.3Subsets1.94Subsets‖195FractiontoRecurringDecimal19.6Excelsheetcolumnnumber19.7Excelsheetcolumntitle19.8FactorialTrailingzeros199HappyNumber1.9.10Countprimes1.9.11Plusone19.12DivideTwoIntegers19.13MultiplyStrings1.9.14MaxPointsonaline1.9.15ProductofArrayExceptSelf19.16Powerofthree19.17IntegerBreak1.9.18Poweroffour9.19Adddigits1.9.20UglyNumber1.9.21glyNumberll1.9.22SuperUglyNumber19.23FindKpairswithsmallestsums1.924SelfCrossing1.9.25Paintfence1.9.26Bulbswitcher19.27Nimgame1.9.28Matrix1.10RotateImage1.10.1SetmatrixZeroes1.10.2Searcha2DMatrix1.10.3Searcha2dMatrixl1.10.4SpiralMatrix1.10.5SpiralMatrix‖l1.10.6DesignLRUCache1.11.1IntroductionMyLeetcodeSolutionsinPythonThisbookwillcontainmysolutionsinPythontotheleetcodeproblems.Currently,willjusttrytoposttheacceptedsolutions.TheplanistoeventuallyincludedetailedexplanationsofeachandeverysolutionamdoingthisjustforfunLinkedListCycleLinkedListCvcleGivenalinkedlist,determineifithasacycleinitFollowup:Canyousolveitwithoutusingextraspace?Url:https://leetcode.com/problems/linked-list-cycle/Definitionforsingly-linkedlistclassListNodeobject)###definit(self,x)self,val=xself,nextNoneclassSolution(object):defhasCycle(self,head)IItypehead:ListNodertype:boolIIIIifhead=nonereturnfalseelsefastheadslow=headWhilefastnoneandfast.nextnonesloW=slownextfastfast.nextnextiffast=slow:breaki千fastNoneorfast.next=nonereturnFalseeliffast=slowreturntruereturnfalseLinkedListCycleReverseLinkedListReverseLinkedlistReverseasinglylinkedlistUrl:https://eetcode.com/problems/reverse-linked-list/definitionforsingly-linkedlist#tclassListNode(object):##def-init(self,x)self.∨al=xselfnextnoneclassSolution(object):defreverseList(self,head)11IIl1typehead:ListNodertype:ListNodeifhead=nonereturnnoneelifhead!=noneandheadnext=nonereturnheadelsetempNonenextnodenoneWhileheadNonenextnodeheadnexthead.nexttemptemp=headheadnextnodereturntempDeletenodeinalinkedlistDeletenodeinalinkedlistWriteafunctiontodeleteanode(exceptthetail)inasinglylinkedlist,givenonlyaccesstothatnodeSupposedthelinkedlistis1->2->3->4andyouaregiventhethirdnodewithvalue3,thelinkedlistshouldbecome1->2->4aftercallingyourfunctionUrl:https://eetcode.com/problems/delete-node-in-a-linked-list/Definitionforsingly-linkedlistclassListNode(object):#def-init(self,x)#self,valxself,nextNoneclasssolution(object):defdeleteNode(self,node):IIlIItypenode:ListNodertype:voidDonotreturnanythingmodifynodein-placeinsteadI111fnode=nonepasse⊥se:nextnodenode.nextnodevalnextnodevalnode.nextnextnode,next
2023/11/8 17:06:47 574KB leetcode python题解
1
python代码实现了差分攻击
2023/11/8 10:27:25 345KB 密码学 差分法
1
2018年中国第十五届华为杯研究生数学建模C题恐怖袭击二等奖论文,论文最后附有部分Python代码,供学习和参考。
欢迎下载,学习和讨论。
这是我们团队的获奖论文,如有疑问私信咨询。
2023/11/4 15:16:21 2MB 研究生 数学建模 论文 恐怖袭击
1
这是《机器学习实战》中Logistic回归的学习笔记,以及运用Logistic回归对周志华的《机器学习》中的西瓜数据分类的Python代码。
2023/10/17 8:53:17 506KB Logistic回归
1
这个代码是智能五子棋代码,使用python实现,可视化界面,有基于规则的算法和基于神经网络的算法,可以实现一定水准的五子棋棋力。
2023/10/17 8:23:33 12KB AI 五子棋 Python CNN
1
具体使用,请参看博文10,里面有详细的使用介绍。
2023/10/16 12:03:54 4KB SIFT.py
1
BM3D在传统图像去噪方面效果是最好的,此代码需要安装opencv库
2023/10/13 2:35:52 5KB opencv python BM3D quzao
1
可修改成自己数据的csv转化为tfrecord的python代码文件。
我将每个图像文件整合一起单独存储,一个图像中有多个目标存储一起,并注明如果训练自己的模型,目标检测的类别不同,需要修改此处等标记
2023/10/9 15:34:26 4KB python tfrecord csv 人工智能
1
针对RNN中存在的序列分类问题进行分析,采用python语言编写代码实现
2023/10/4 5:09:10 4KB RNN 序列分类 深度学习 python
1
共 162 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡