## The real topic of the 6th TIANTI competition - L2-3 counting code base (vector,map)

L2-039 inventory code base (25 points) The above picture is transferred from Sina Weibo: "there are hundreds of millions of lines of code in Alibaba code base, but there are many codes with repeated functions. For example, fast sorting alone has been rewritten hundreds of times. Please design a program that can find out all the codes wit ...

Posted by CoolAsCarlito on Fri, 18 Feb 2022 22:04:17 +0100

## sort of Go language

sort In the previous map, we introduced how to traverse the map in sequence, in which the sort package is used. The sort package provides functions for sorting slices and user-defined data sets. Here are the methods commonly used in sort package. //Sort sort data. It calls data once Len determines the length and calls O(n*log(n)) times data L ...

Posted by ober on Sat, 12 Feb 2022 00:27:33 +0100

## Understanding of ten classic sorting algorithms, dynamic graph demonstration and Python method implementation

Recently, I have worked hard to find resource animation to summarize the classic sorting algorithm. Some animations have not been found yet, but I will continue to update them later, which is suitable for beginners. Overview of sorting algorithm Sorting: adjust a group of "unordered" record sequences to "ordered" record se ...

Posted by deurwaarder on Thu, 10 Feb 2022 00:58:39 +0100

## BFS and DP -- the 70th biweekly match of Li Kou

⭐ New pit in winter vacation -- daily question notes of code Fox First question, greedy thought (take the largest two at a time, and then the largest third for free - the amount of sugar you can take for free is limited. Why not take one expensive one for free) The second problem is mathematical thinking (all numbers are in a range, so you only ...

Posted by sparrrow on Wed, 02 Feb 2022 18:05:46 +0100

## leetcode weekly The 278th game of the week is really difficult, but you can still brush the inverted hash of simple sorting + traversal prefix and traversal string

📖 Content of this article: leetcode weekly The 278th game of the week is really difficult, but you can still brush simple sorting + traversal double pointer + prefix and sum 📑 Article column: leetcode weekly game punch in 📆 Last updated: January 23, 2022 leetcode weekly Game 277 of the week 🙊 Personal profile: a Junior Program ape who is ...

Posted by goodluck4287 on Sun, 30 Jan 2022 13:02:13 +0100

## Basic Python data analysis tutorial: NumPy Learning Guide (2nd Edition) note 15: Chapter 7 special function 1 - sorting

Chapter VII Special Functions This chapter mainly introduces Numpy function in financial calculation or signal processing. 7.1 sorting NumPy provides a variety of sorting functions, as shown below: The sort function returns the sorted array;The lexport function sorts according to the dictionary order of key values;The argsort function retur ...

Posted by system_critical on Fri, 14 Jan 2022 13:01:43 +0100

## TopK questions asked during the interview can be answered with such elegance

prefacehello, everyone, I'm bigsai brother. I haven't seen you for a long time. I miss you very much 🤩!Today, I'll share a TOPK problem, but I don't consider a particularly large distributed solution here. It's an ordinary algorithm problem.First, find out what is the topK problem?The topK problem is to find out the number of the first k in the ...

Posted by snowman2344 on Thu, 16 Dec 2021 06:20:55 +0100

## Ten minute introduction to pandas

Translated from https://pandas.pydata.org/docs/user_guide/10min.html Use version 0.23.0 pandas is a fast, powerful, flexible and easy-to-use open source data analysis and operation tool, which is built on the Python programming language. pandas contains two structures Series is a one-dimensional tag array that can hold any data type (intege ...

Posted by filmixt on Fri, 19 Nov 2021 22:29:22 +0100

## Animation illustration of a high-frequency interview question of an Internet factory - relative ranking of arrays

preface Hello, I'm Xiaoxiong, a programmer from Huawei. Today, I'll bring you a high-frequency interview question related to arrays. This question is the interview question of big companies such as Google, Tencent, apple and Amazon, that is, the 1122 question on force buckle - the relative ranking of arrays. This paper mainly introduces the s ...

Posted by Trojan on Fri, 17 Sep 2021 22:22:52 +0200