This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Demo Server : https://github.com/neo4j-graph-examples/recommendations | |
| https://github.com/neo4j-graph-examples/recommendations/tree/main/data | |
| The database is also available on https://demo.neo4jlabs.com:7473 | |
| Username "recommendations", password: "recommendations", database: "recommendations" | |
| https://docs.google.com/document/d/1OLr3KnYpQpTRBJPKvSoY4ikmg5sP5Odwh-E6piuKQA0/edit?usp=sharing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Solution { | |
| public: | |
| int subarraySum(vector<int>& nums, int k) { | |
| //For fast I/O in C++ | |
| ios_base::sync_with_stdio(false); | |
| cin.tie(NULL); | |
| int n = nums.size(); | |
| if(n==0) |