Moment For Technology

Question 33: How do I get rid of duplicate values in an integer array?

Using ES6 new data structure SET implementation {code... } Additional this article is published through multi-platform we-media, and no maintenance will be carried out after publication. If you have any objection to the content, you can discuss it in the following GitHub [continuous maintenance/update 500+ front end questions/notes] [link] [3D city modeling using Three.js (Zhuhai City)] [link]

Question 2: What is the box model?

The box model is mainly composed of four parts: content, padding, border and margin< img src="https://noxussj.top:3000/2/1.png"> < /img>

Question 30: How to understand radix sort?

What is radix sort? Basic idea: Radix sort is sorted according to the low order first, and then collect; Sort it by the highest order, and then collect it; So on, until the highest intuitive expression: is to each according to its figures to be split, carries on the comparison to each corresponding digits, until all the digits are conducted based sorting again ranking position the most important thing is to digit number: 832 by digits can be split into single digits, ten digits, the digits in the letter...

Question 32: How to count the most letters in a string?

Directly on the code {code... } Additional this article is published through multi-platform we-media, and no maintenance will be carried out after publication. If you have any objection to the content, you can discuss it in the following GitHub [continuous maintenance/update 500+ front end questions/notes] [link] [3D city modeling using Three.js (Zhuhai City)] [link]

Question 14: The browser's minimum font size is 12px. What are some ways to achieve a smaller font size?

Using image using font file using Canvas drawing using CSS3 Transform: Scale (0.9) (a more convenient one at present) Additional: This article is published on multiple platforms through "We Media" and will not be maintained after publication. If you have any objection to the content, you can discuss it in the following GitHub [continuous maintenance/update 500+ front end questions/notes] [link] [use three.js to realize 3D city modeling (Zhuhai)] [link]

Question 12: What is a Flex layout?

Flex layouts are one of the most popular because they are so simple and flexible that you can use just a few lines of code to layout a variety of pages. When I was learning about page layouts, I struggled with attributes like float, display, and position. Use the Flex attribute to create simple, elegant and complex page layouts

Question 21: How to understand Bubble Sort?

What is Bubble Sort? Basic idea: Bubble sort, similar to bubbles in water, the larger number sinks, the smaller number slowly float up intuitive expression: that is, in the array sort, from small to large sorting algorithm describes from the first number, every 2 adjacent numbers are compared, the small on the left, the big on the right. Over and over again n times, n is the length of the array minus 1. It doesn't help to describe it too much, just look at the picture. img src="https://no...

Question 25. How do you understand merge sort?

What is merge sort? The input sequence of length n is divided into two subsequences of length n/2. Merge sort is adopted for these two subsequences respectively. Merges two sorted subsequences into a final sorted sequence. < img src="https://noxussj.top:3000/25/1.png"> < /img> So basically it's split, then merge, and sort as you merge chestnut merge sort is like A tournament for example, there's A, there's A...

Question 31: What are the differences between the above ten sorting algorithms?

Algorithm classification (compare and non-compare) nonlinear time comparison class sorting: by comparison to determine the relative order between elements, due to its time complexity can not break O(nlogn), so called nonlinear time comparison class sorting linear time non-comparison class sorting: Instead of determining the relative order between elements by comparison, it can break through the lower bound of time based on comparison sort and run in linear time, so it is called linear time non-comparison sort. img src="https://n...

Question 3: How to understand semantic HTML5?

What is tag semantics? Enhance code readability for team development and maintenance. Why tag semantics? When the CSS is removed from the page, the page appears to have a clear structure. } using semantic {code... } Summary: As can be seen from the above, a page with 3 divs is not known to others what this means. If you use semantic tags, you can clearly know that it is divided into three modules: top, middle and bottom...

Search
About
mo4tech.com (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.