Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
Even Write a C code to reverse a linked list falls under this category. :)
1. Start at bottom left corner of the array.2. Move right if the element is bigger otherwise move up if the element is smaller.3. Repeat the above step till match is found or top-right is reached.
Even Write a C code to reverse a linked list falls under this category. :)
ReplyDelete1. Start at bottom left corner of the array.
ReplyDelete2. Move right if the element is bigger otherwise move up if the element is smaller.
3. Repeat the above step till match is found or top-right is reached.