iOS simple query operation based on FMDB

Reprinted from: https://blog.csdn.net/rpf2014/article/details/53116906 The last article introduced the operation of installation, addition, deletion, modification and query of FMDB This article is mainly about data query screening and common database statistical functions, which is convenient for later query and learni ...

Posted on Tue, 31 Mar 2020 08:28:31 -0400 by wayz1229

Merge two sorted integer arrays A and B into A new array

Merge and sort: divide the problem into small problems and solve them recursively, and merge the answers obtained in different stages together. Combine two ordered arrays into one, give A=[1,2,3,4], B=[2,4,5,6], return [1,2,2,3,4,4,5,6]. Solution idea: compare the numbers in two series from the beginning, and take out ...

Posted on Tue, 31 Mar 2020 07:44:24 -0400 by pmg206

Using Alibaba Druid data source and monitoring sql in SpringBoot

Continue to summarize the work of Java background 2 Preface Previously, I wrote a SSM to replace c3p0 data source with Druid: https://blog.csdn.net/larger5/article/details/79509895 Recently, projects are basically based on SpringBoot. Similarly, using Druid as data source is also a very simple operation and principle Cod ...

Posted on Tue, 31 Mar 2020 07:33:34 -0400 by imranlink

Python quantitative stock selection framework

Quantitative stock selection is to use the method of quantity to judge whether a company is worth buying. According to a method, if the company meets the conditions of the method, it will be put into the stock pool, if not, it will be removed from the stock pool. There are many kinds of quantitative stock selection methods. Gen ...

Posted on Tue, 31 Mar 2020 08:25:08 -0400 by DF7

Iron music Python ยท day08 assignment

1. Contents of file a.txt: the contents of each line are commodity name, price and quantity. apple 10 3 tesla 100000 1 mac 3000 2 lenovo 30000 3 chicken 10 3 Through code, it is constructed into this data type: [{'name':'apple','price':10,'amount':3}, {'name':'tesla','price':1000000,'amount':1}...] and calculate the total price. Answer: li = [] ...

Posted on Tue, 31 Mar 2020 08:12:58 -0400 by mattnoble