0
votes
3answers
171 views

Using a Dedicated Class & Constructor to initialize Stored Procedure for SQL Transaction

as i thought it will be sutible as a Quetion for SO... i started to describe the issue of my Problem, though as i completed Editing the post , i could see that it will better fit here, In CR. so to ...
2
votes
2answers
147 views

A* shortest path algorithm optimization request

Good day to ya'll. I had this programming excericise of mine where I had to find the shortest path to an exit in an NxM -grid maze in under a second (both N and M would be anywhere between 3 and ...
3
votes
1answer
838 views

Coding adjacency list representing graph

I want to write some basic code on graph like DFS, BFS but before that I am coding graph representation in adjacency list, and some basic functions like readgraphfrommatrix. (This will initialize ...
2
votes
2answers
365 views

Please Review my Generic Linked List Implementation in Java

I am looking for feedback on my Doubly Linked List implementation that I have written in Java. I am looking for specific feedback on the efficiency of my code, as well as my usage of generics. I am ...
1
vote
2answers
1k views

given two Binary trees, find whether the second is a sub tree of the first…

Given two Binary trees, you have to find whether the second is a sub tree of the first... First attempt (brute force): int issubtree(tree *tree1p, tree * tree2p) { if (tree2p == NULL) ...