Thread: Struct Question
View Single Post
Old Dec 8th, 2006, 10:18 PM   #12
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 770
Rep Power: 3 Jimbo is on a distinguished road
Jessehk - Your method seems inefficient. It has a running time of O(n) compared to the O(1) solution we've already come up with.
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote