网站首页 站内搜索

搜索结果

查询Tags标签: example,共有 189条记录
  • [Leetcode 11]容器中装最多的水Container With Most Water

    【题目】 木桶短板,能装的最多水,由最短的那条决定 Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of the line i is at (i, ai) and (i, 0). Find …

    2021/8/23 23:36:41 人评论 次浏览
  • [LeetCode] 1053. Previous Permutation With One Swap

    Given an array of positive integers arr (not necessarily distinct), return the lexicographically largest permutation that is smaller than arr, that can be made with exactly one swap (A swap exchanges the positions of two numbers arr[i] and arr[j]). If…

    2021/8/16 23:06:52 人评论 次浏览
  • [LeetCode] 1053. Previous Permutation With One Swap

    Given an array of positive integers arr (not necessarily distinct), return the lexicographically largest permutation that is smaller than arr, that can be made with exactly one swap (A swap exchanges the positions of two numbers arr[i] and arr[j]). If…

    2021/8/16 23:06:52 人评论 次浏览
  • RH358学习笔记--8(使用Nginx配置Web服务器学习)

    使用Nginx配置Web服务器 RHEL 8 提供 Nginx 作为 application streams。有两个版本可用 Nginx 1.14的应用程序流是随着RHEL 8.0发布的,将在2021年5月退休,并被设置为默认值。 Nqinx 1.16的应用程序流随着RHEL 8.1发布,将在11月退休2021。 配置 Nginx Nginx的默认配…

    2021/8/13 7:06:31 人评论 次浏览
  • RH358学习笔记--8(使用Nginx配置Web服务器学习)

    使用Nginx配置Web服务器 RHEL 8 提供 Nginx 作为 application streams。有两个版本可用 Nginx 1.14的应用程序流是随着RHEL 8.0发布的,将在2021年5月退休,并被设置为默认值。 Nqinx 1.16的应用程序流随着RHEL 8.1发布,将在11月退休2021。 配置 Nginx Nginx的默认配…

    2021/8/13 7:06:31 人评论 次浏览
  • springboot引入其他项目jar包,jar使用当前项目的数据库配置文件

    1、在当前项目中创建lib目录,放入第三方jar包2、在pom文件中引入jar包<dependency><groupId>com.myjar</groupId><artifactId>com.myjar</artifactId><version>1.0</version><scope>system</scope><systemPath…

    2021/8/9 19:06:20 人评论 次浏览
  • springboot引入其他项目jar包,jar使用当前项目的数据库配置文件

    1、在当前项目中创建lib目录,放入第三方jar包2、在pom文件中引入jar包<dependency><groupId>com.myjar</groupId><artifactId>com.myjar</artifactId><version>1.0</version><scope>system</scope><systemPath…

    2021/8/9 19:06:20 人评论 次浏览
  • Hive中将结果表数据获取并且重新以参数形式赋予到SQL脚本中的一种实践办法

    最近使用Hive来加工一批数据形成标签宽表,其中有一部分的标签需要根据统计规律来进行标定,而这些统计规律是需要依赖于之前的结果表。 例如,需要统计规律的结果表如下:-- 参数设置SET hivevar:param_1 = ${hiveconf:param_1};SET hivevar:param_2 = ${hiveconf:param_2…

    2021/8/6 19:07:47 人评论 次浏览
  • Hive中将结果表数据获取并且重新以参数形式赋予到SQL脚本中的一种实践办法

    最近使用Hive来加工一批数据形成标签宽表,其中有一部分的标签需要根据统计规律来进行标定,而这些统计规律是需要依赖于之前的结果表。 例如,需要统计规律的结果表如下:-- 参数设置SET hivevar:param_1 = ${hiveconf:param_1};SET hivevar:param_2 = ${hiveconf:param_2…

    2021/8/6 19:07:47 人评论 次浏览
  • [LeetCode] 3. Longest Substring Without Repeating Characters_Medium tag: two pointers

    Given a string s, find the length of the longest substring without repeating characters.Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3.Example 2: Input: s = "bbbbb" Outpu…

    2021/8/5 6:08:37 人评论 次浏览
  • [LeetCode] 3. Longest Substring Without Repeating Characters_Medium tag: two pointers

    Given a string s, find the length of the longest substring without repeating characters.Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3.Example 2: Input: s = "bbbbb" Outpu…

    2021/8/5 6:08:37 人评论 次浏览
  • [LeetCode] 11. Container With Most Water_Medium tag: two pointers

    Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of the line i is at (i, ai) and (i, 0). Find two lines, which, together with the x-axis forms a…

    2021/8/5 6:07:07 人评论 次浏览
  • [LeetCode] 11. Container With Most Water_Medium tag: two pointers

    Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of the line i is at (i, ai) and (i, 0). Find two lines, which, together with the x-axis forms a…

    2021/8/5 6:07:07 人评论 次浏览
  • 使用xmake编译pybind11官方demo

    xmake 国产编程语言编译系统,简单易用,网址:https://xmake.io/#/ pybind11 简单易用的C++和Python的双向绑定项目,借鉴boost.python,网址为:http://pybind11.readthedocs.io/en/stable/basics.html xmake编译pybind11项目 pybind11官网教程有gcc和cmake的示例,这里补…

    2021/7/31 23:35:50 人评论 次浏览
  • 使用xmake编译pybind11官方demo

    xmake 国产编程语言编译系统,简单易用,网址:https://xmake.io/#/ pybind11 简单易用的C++和Python的双向绑定项目,借鉴boost.python,网址为:http://pybind11.readthedocs.io/en/stable/basics.html xmake编译pybind11项目 pybind11官网教程有gcc和cmake的示例,这里补…

    2021/7/31 23:35:50 人评论 次浏览
扫一扫关注最新编程教程