Hi guys,
I want to know, how algorithm works for different Programming languages. As I was working with Linked List in php, I find the algorithm that i used for C program isn't going to work for my php implementation.
although the syntax of php is quite similar to that of C, but i find the following reason after failure of that algorithm.
1). That algorithm use pointer as reference variable for creating new node (which is not possible in case of php)
2). That algorithm was locating the location of the same class(i.e. when he was creating a node automatically a structure or object was creating) and I've not done OOPs in that deepness.

what do you think? is success of an algorithm is limited to programming languages or not? what other factor affects the implementation of a algorithm ?