# Tag Archives: Hike

Given a linked list, write a function to reverse every k nodes (where k is an input to the function).  Example:  Input: 1->2->3->4->5->6->7->8->NULL, K =… Read More
Given a linked list, write a function to reverse every k nodes (where k is an input to the function).  Example:  Input: 1->2->3->4->5->6->7->8->NULL, K =… Read More
Given a linked list, write a function to reverse every k nodes (where k is an input to the function).  Example:  Input: 1->2->3->4->5->6->7->8->NULL, K =… Read More
Given an expression string exp, write a program to examine whether the pairs and the orders of “{“, “}”, “(“, “)”, “[“, “]” are correct… Read More
Given an expression string exp, write a program to examine whether the pairs and the orders of “{“, “}”, “(“, “)”, “[“, “]” are correct… Read More
Given an expression string exp, write a program to examine whether the pairs and the orders of “{“, “}”, “(“, “)”, “[“, “]” are correct… Read More
Given an expression string exp, write a program to examine whether the pairs and the orders of “{“, “}”, “(“, “)”, “[“, “]” are correct… Read More
Given an expression string exp, write a program to examine whether the pairs and the orders of “{“, “}”, “(“, “)”, “[“, “]” are correct… Read More
Given an expression string exp, write a program to examine whether the pairs and the orders of “{“, “}”, “(“, “)”, “[“, “]” are correct… Read More
Equilibrium index of an array is an index such that the sum of elements at lower indexes is equal to the sum of elements at… Read More
Equilibrium index of an array is an index such that the sum of elements at lower indexes is equal to the sum of elements at… Read More
Equilibrium index of an array is an index such that the sum of elements at lower indexes is equal to the sum of elements at… Read More
Equilibrium index of an array is an index such that the sum of elements at lower indexes is equal to the sum of elements at… Read More
Equilibrium index of an array is an index such that the sum of elements at lower indexes is equal to the sum of elements at… Read More
The cost of a stock on each day is given in an array, find the max profit that you can make by buying and selling… Read More