摘要:
遇到一个很有意思的问题 在操作某个对象时,想在插入该对象后 同时写入其它数据。 用sqlalchemy做了一个event.listen for after insert 后插入数据。 发现不能插入 原因在于Transaction is closed ,认真思考了下,发现sqlalchemy一个很有意 阅读全文
摘要:
最近死磕较高难度的题目 深感自己的基本数据结构掌握不够熟练 因此 刷题较慢了些 刷了一道简单的题目涨涨自信 题目:Given a string which consists of lowercase or uppercase letters, find the length of the longe 阅读全文
摘要:
最近稍微有点懈怠了 刷题不勤了 勉励下自己 这道题目挺有意思的 We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I pi 阅读全文
摘要:
题意:Given an array of integers, how many three numbers can be found in the array, so that we can build an triangle whose three edges length is the thre 阅读全文