Posts by Andre Ramos da Silva • 35 points
2 posts
-
-2
votes2
answers174
viewsA: Find out which number from 1 to N is missing from a list with N - 1 numbers
I would so use a create a set with the range of your input array, and use it to check which item is missing, the big O is not very good but for troubleshooting the problem and for small datasets I…
-
0
votes1
answer258
viewsQ: Reason for using cursors in databases
I understand what a cursor is, but I don’t understand and I can’t get anyone to show me a real reason to use them. Why should I use cursors? I want answers based on Oracle, SQL Server and Mysql and…