• 【Python刷题篇】——Python入门 011面向对象(二)

    时间:2022-12-23 15:05:54

    ????‍♂️ 个人主页: @北极的三哈 个人主页 ????‍???? 作者简介:Python领域新星创作者。 ???? 系列专栏:《牛客刷题-Python篇》《牛客刷题-SQL篇》 ????推荐《牛客网》——找工作神器|笔试题库|面试经验|实习经验内推,求职就业一站解决 ???? 点击链接进...

  • python -- leetcode 刷题之路

    时间:2022-08-27 09:02:50

    第一题给定一个整数数组和一个目标值,找出数组中和为目标值的两个数。你可以假设每个输入只对应一种答案,且同样的元素不能被重复利用。示例:给定 nums = [2, 7, 11, 15], target = 9因为 nums[0] + nums[1] = 2 + 7 = 9所以返回 [0, 1]暴力法,...

  • LeetCode刷题记录(python3)

    时间:2022-08-24 08:01:41

    由于之前对算法题接触不多,因此暂时只做easy和medium难度的题.看完了《算法(第四版)》后重新开始刷LeetCode了,这次决定按topic来刷题,有一个大致的方向.有些题不止包含在一个topic中,就以我自己做的先后顺序为准了.Array---11.Container With Most W...

  • python刷题专用函数。。

    时间:2022-02-20 21:35:22

    无它,非bin()莫属。bin(x)Convertanintegernumbertoabinarystring.TheresultisavalidPythonexpression.IfxisnotaPythonintobject,ithastodefinean__index__()methodtha...

  • Leecode刷题之旅-C语言/python-83删除排序链表中的重复元素

    时间:2022-02-12 03:26:48

    /**@lcapp=leetcode.cnid=83lang=c**[83]删除排序链表中的重复元素**https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list/description/**algorithms*Easy(...