Object-OrientedSoftwareEngineering
2023/11/18 16:38:40 25.62MB Software Engineering
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
Android官方API文档完整版、中文版帮助文档android.widget类CheckBoxjava.lang.Object继承者android.view.View继承者android.widget.TextView继承者android.widget.Button继承者android.widget.CompoundButton继承者android.widget.CheckBox所有已实现的接口:Drawable.Callback,KeyEvent.Callback,ViewTreeObserver.OnPreDrawListener,Checkable
2023/10/9 1:22:10 24.44MB 安装
1
是一部介绍用java进行面向对象编程的书,是英文版,有兴趣的朋友可以下载阅读。
2023/9/22 17:23:24 17.18MB 面向对象 java 编程
1
Thisbookisn’tmeanttoteachtheC++programminglanguage.It’saboutfunctionalprogrammingandhowitfitsinwithC++.Functionalprogrammingprovidesadiffer-entwaytothinkaboutsoftwaredesignandadifferentwayofprogramming,comparedtotheimperative,object-orientedstylescommonlyusedwithC++.Manypeoplewhoseethetitleofthisbookmayfinditstrange,becauseC++iscom-monlymistakenforanobject-orientedlanguage.AlthoughC++doessupporttheobject-orientedparadigmwell,itgoesmuchfurtherthanthat.Italsosupportsthepro-ceduralparadigm,anditssupportforgenericprogrammingputsmostotherlanguagestoshame.C++alsosupportsmost(ifnotall)functionalidiomsquitewell,asyou’llsee.Eachnewversionofthelanguagehasaddedmoretoolsthatmakefunctionalprogram-minginC++easier.
2023/9/4 23:16:56 10.52MB c++ functional
1
MasteringTypeScript-SecondEditionbyNathanRozentalsEnglish|6Mar.2017|ISBN:1786468719|651Pages|EPUB/PDF(conv)|12.4MBKeyFeaturesStartwiththebasics,thenenhanceyourknowledgewithin-depthdiscussionsonlanguagefeatures,third-partylibraries,designpatternsandmorePracticalexamplesthatshowhowtouseTypeScriptwithpopularframeworks,includingBackbone,Angular2,React,Aurelia,NodeandothersFocusontest-drivendevelopmenttobuildhighqualityapplicationsthataremodular,scalableandadaptableBookDescriptionTheTypeScriptlanguage,compilerandopen-sourcedevelopmenttoolsetbringsJavaScriptdevelopmentuptotheenterpriselevel.ItallowsustouseES5,ES6andES7JavaScriptlanguagefeaturestoday-includingclasses,interfaces,generics,modulesandmore.It'ssimpletypingsyntaxenablesbuildinglarge,robustapplicationsusingobject-orientedtechniquesandindustrystandarddesignprinciples.Packedwithpractical,real-worldexamples,thisbookisaguidetobringingthebenefitsofstronglytyped,object-orientedprogramminganddesignprinciplesintotheJavaScriptdevelopmentspace.Startingwithcorelanguagefeatures,andworkingthroughmoreadvancedtopicssuchasgenericsandasynchronousprogrammingtechniques,youwilllearnhowtogainmaximumbenefitfromyourJavaScriptdevelopmentwithTypeScript.Withastrongfocusontest-drivendevelopment,andcoverageofmanypopularandin-demandJavaScriptframeworks,youcanfast-trackyourTypeScriptknowledgetoaprofessionallevel.Bytheendofthisbook,youwillbeabletoconfidentlybuildTypeScriptapplications,whetheryouaretargetingAngular2,Aurelia,React,Backbone,NodeoranyotherJavaScriptframework.WhatyouwilllearnGainaninsightintocoreandadvancedTypeScriptlanguagefeaturesincludinginheritance,generics,asynchronousprogrammingtechniques,promises,decoratorsandmoreIntegrateyourexistingJavaScrip
2023/8/27 16:10:15 12.4MB TypeScript
1
《EssentialC++中文版》以4个面向来表现C++的本质:procedural(程序性的)、generic(泛型的)、object-based(个别对象的)、object-oriented(面向对象的)。
《EssentialC++中文版》的组织围绕着一系列逐渐繁复的程序问题,以及用以解决这些问题的语言特性。
循此方式,你不只学到C++的函数和结构,也会学习到它们的设计目的和基本原理。
2023/8/27 6:56:02 14.17MB Essential C++ 中文版
1
VC编译中出现以下错误时:LINK:fatalerrorLNK1104:cannotopenfile'uafxcwd.lib'解决方法1.菜单project-》settnigs-》link-》Object/Librarymodules:中添加uafxcwd.lib(win7下亲测可用)2.如果还是不行,选择vc的全部安装,而不是默认安装如果是unicode,可以用vc盘修复一下vc,钩选相关项。
如果以上方法不行,可以试试下面的方法。
说明:uafxcwd.lib多见于VC6编译过程中,有时候会遇到“fatalerrorLNK1104:cannotopenfile"uafxcwd.lib"”,意思是找不到uafxcwd.lib库文件,你可在此下载,存放在提示的路径下即可,若缺少这个文件而不修复的话,VC项目可能无法编译成功。
如果系统提示“没有找到uafxcwd.lib”、“缺少uafxcwd.lib文件”或者无法加载uafxcwd.lib等提示信息,您需要下载uafxcwd.lib后,拷贝到提示的路径里或在系统内安装注册该文件即可。
  安装及使用方法(仅供参考,本方法对BPL文件无效):  ①将下载解压的uafxcwd.lib文件复制到C:\Windows\System32系统目录下(请注意:Win7、Vista的系统目录请以实际为准);
  ②打开“开始”菜单-选择“运行”,输入“regsvr32uafxcwd.lib”,在接下来的窗口中按回车确认即可完成控件注册。
  ③如果在运行某一软件或程序编译时提示缺少、没有找到uafxcwd.lib等类似提示,您可按照提示的路径将lib拷贝到指定目录即可,或者重新添加文件引用。
2023/7/31 8:21:57 3.18MB fatal error LNK1104 uafxcwd.lib
1
在Azure上操作TensorFlow对象检测第1部分:使用Docker和深度学习VM第2部分:使用Kubernetes运行分布式TensorFlow对象检测API第3部分:使用TensorFlow服务进行服务
2023/7/21 14:18:17 274KB docker machine-learning azure tensorflow
1
模拟风扇(满分50分)版本1:满分15分模拟实现电风扇,可以调3档速度(慢速、中速、快速);
开关按钮;
定时吹风;
描述风扇的扇叶大小、颜色等。
设计Fan类,属性包括:3个常量SLOW(1)、MEDIUM(2)、FAST(3)代表风扇的速度;
1个int属性speed指定速度,默认值为SLOW;
1个boolean属性on指定开关机,默认值false;
1个double属性radius指定风扇扇叶大小;
1个String属性color指定扇叶颜色,默认值为blue。
方法包括这些属性的访问器、构造函数、重写Object类的toString()和equals()方法等。
运行测试代码:publicstaticvoidmain(String[]args){Fan1fan1=newFan1();fan1.setSpeed(Fan1.FAST);fan1.setRadius(10);8fan1.setColor("yellow");fan1.setOn(true);System.out.println(fan1.toString());}版本2:满分15分修改版本1中Fan类,让其继承JPanel类,并且把color属性设置为Color类型,默认属性为red。
随机产生radius,取值范围为1-5;
随机产生颜色,取值范围为red、blue、yellow、green、orange;
根据color、radius属性值绘制风扇。
版本3:满分20分让版本2中的风扇转起来。
创建一个FanControl类包含以下内容:Start、Stop、Reverse按钮,用于开启、关闭、反转控制;
一个滚动条控制速度。
2023/7/13 12:39:49 17KB 风扇 java 三个版本
1
共 86 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡