[prepare for autumn move] easily grasp the high-frequency algorithm problem of big factory -- reverse linked list

🥪 Write in front Hello, friends 😋, I'm saury 🐟, A new blogger active in Java area and algorithm area~ Welcome to the algorithm learning community of colleges and universities 🏰: https://bbs.csdn.net/forums/Suanfa , the leaders in the community gather, and we exchange and learn from each other! From today on, I w ...

Posted by justsomeone on Wed, 13 Apr 2022 03:23:48 +0300

Advanced skills of Android -- Summary of ContentProvider

1. Applicable scenarios ContentProvider provides a unified interface for storing and reading dataUsing ContentProvider, applications can share dataMany of the built-in data in android are in the form of ContentProvider for developers to call (such as video, audio, pictures, address book, etc.) There are benefits at the end of the article!!! ...

Posted by joukar on Mon, 11 Apr 2022 11:02:07 +0300

Algorithm interview problem-1-egg drop problem

Problem description Method 1 - dynamic programming (timeout) class Solution { public: int superEggDrop(int K, int N) { const int INF=0x3f3f3f3f; //dp[i][j]: the minimum number of experiments using j eggs when there are I stairs vector<vector<int>>dp(N+1,vector<int>(K+1,0)); //initializa ...

Posted by newbeee on Mon, 11 Apr 2022 02:58:07 +0300

Resource scheduling, Yan restart strategy and high availability of Hadoop series (35)

restart The resource manager is the central authority for managing resources and scheduling applications running on YARN. Therefore, it has potential single point of failure risk in the whole Apache YARN cluster. This document provides an overview of resource manager restart. This function can enhance the resource manager so that it can still ...

Posted by jandrews3 on Sun, 10 Apr 2022 22:44:21 +0300

Android advanced technology sharing -- practical part of customized View series - ViewGroup (including customized View treasure map)

Customizing the ViewGroup is actually not complicated, but it needs some effort to support the margin attribute of the child View. I have written a custom FlowLayout to support the padding attribute of my own as well as the margin attribute of the child View. The basic comments have been written in the code in as much detail as possible. Effe ...

Posted by bouton on Sat, 09 Apr 2022 05:24:03 +0300

Skyline, building contour problem

Catalogue of series articles Tip: it may take some time to write a blog, but only when I stand up and write clearly can I understand it clearly. In order to force myself to learn this algorithm and filter out the ideas of problem-solving, I insist on writing! The skyline problem is the title of LeetCode: Original title link: Skyline contour p ...

Posted by rklapwijk on Wed, 06 Apr 2022 17:14:52 +0300

shell script for big data learning

A learning process of cooking chicken and looking for a job preface I am a vegetable chicken looking for big data development post in the future After extensive online search for relevant work materials, it is not difficult to find that companies often need us to have the following skills: 1. Solid SQL foundation and proficient in Hive ...

Posted by RonDahl on Tue, 05 Apr 2022 22:25:38 +0300

The use and principle analysis of sort() method in JAVA

Arrays.sort and collections Analysis of sort implementation principle 1. Use sort sort() is a method used for sorting in Java. When we concentrate on learning various classical sorting algorithms, in fact, a sort() in the code can be solved, and the time complexity and space complexity will not be too high. In fact, sort() can sort not only ...

Posted by tabs on Mon, 04 Apr 2022 23:52:28 +0300

Singleton pattern of JAVA design pattern

1, Introduction to singleton mode 1 mode description Implement one class, only one instantiated object, and provide a global access point 2 role (problem solved) Ensure that there is only one object in a class to reduce the coupling between objects 3 working principle In Java, we operate these classes by using objects (after class ins ...

Posted by yuppicide on Mon, 04 Apr 2022 00:57:50 +0300

From simple to deep, 66 JavaScript interview knowledge points and answer analysis

1. Introduce the data types of js and how the values are stored For details, see my previous article: "front end package" may be the most thorough explanation of JavaScript data types There are 8 data types in JavaScript, including 7 basic data types: Undefined, Null, Boolean, Number, String, Symbol (es6 added, representing unique v ...

Posted by pedroteixeira07 on Sat, 02 Apr 2022 12:41:42 +0300