Category Archives: Data structures

data structures interview questions

Linked list creation and manipulation

Here’s the code to create a linked list. And perform various operations on it. U can use this code for reference . The code is self explanatory.

Balanced Parentheses Algorithm

This is a classic example of how using an appropriate Datastructure can improve the quality of your algorithm. The Balanced Parentheses or Valid Parentheses is like this : Given a string containing ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid or not. [(a+b)+c] is Valid where as (a+b)+c] is… Read More »