240 发简信
IP属地:四川
  • scanf与gets的比较

    scanf( )函数和gets( )函数都可用于输入字符串,但在功能上有区别。若想从键盘上输入字符串"hi hello",则应该使用gets函数...

  • 华为笔试

    题目一 有这样一道智力题:“某商店规定:三个空汽水瓶可以换一瓶汽水。小张手上有十个空汽水瓶,她最多可以换多少瓶汽水喝?”答案是5瓶,方法如下:先...

  • LertCode- 27. Remove Element

    DescriptionGiven an array and a value, remove all instances of that valu...

  • Resize,w 360,h 240
    Leetcode-4. Median of Two Sorted Arrays

    DescriptionThere are two sorted arrays nums1 and nums2 of size m and n r...

  • Leetcode-1. Two Sum

    DescriptionGiven an array of integers, return indices of the two numbers...

  • Resize,w 360,h 240
    LeetCode- 3. Longest Substring Without Repeating Characters

    DescriptionGiven a string, find the length of the longest substring with...

  • LeetCode-541. Reverse String II

    DescriptionGiven a string and an integer k, you need to reverse the firs...

  • LeetCode-345. Reverse Vowels of a String

    Description Write a function that takes a string as input and reverse on...

  • LeetCode-344. Reverse String

    LeetCode-344. Reverse String DescriptionWrite a function that takes a st...