In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "what are the five programming problems that every web programmer must solve". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Every time I post the job requirements of a software engineer, all kinds of job applications will come one after another. But what often puzzles me is that there are always a few candidates who don't understand the meaning of "programming" at all.
Question 1
Use the for loop, the while loop, and recursively write three functions to calculate the sum of a given sequence.
Question 2
Write a function that interlace and merge list elements. For example, the given two lists are [ameme Breco C] and [1pm 2pr 3], and the function returns [arecine 1meme Breco 2pm Cp3].
Question 3
Write a function to calculate the top 100 Fibonacci numbers. By definition, the first two digits of the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the first two digits. For example, the top 10 Fibonacci numbers are: 0, 1, 1, 2, 3, 5, 5, 8, 13, 13, 34.
Question 4
Write a function that arranges the numbers in a given list of non-negative integers into * numbers. For example, given [50pr 2pm 1p 9], the * number is 95021.
Ps: click here to read my solution.
Question 5
Write one in 1RO 2, … 9 (the order cannot be changed) insert + or-or nothing between numbers, so that the result of the calculation is always 100 of the program, and output all possibilities. For example: 1 + 2 + 34-5 + 67-8 + 9 = 100.
That's all for "what are the five programming problems that every web programmer has to solve?" Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.