#1 Added count method to Linked List
This commit is contained in:
		@@ -101,6 +101,11 @@ namespace Datastructures {
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	template <typename T>
 | 
			
		||||
	int LinkedList<T>::count() const {
 | 
			
		||||
		return this->mCount;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	template <typename T>
 | 
			
		||||
	int LinkedList<T>::find(const T& value) const {
 | 
			
		||||
		//Start at the head of the list
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user