Tag Archives: Hash Map

Given a dictionary and a list of letters find all valid words that can be built with the letters

Posted in Algorithm, Data Structure, java, Uncategorized | Tagged , , | Leave a comment

Hash Map in c++ and basic operation on it

Its required to know hash technique in any language. because Hash Map use to solve more then 50% of data structure problem. Hash map provide a way to find a value with O(1) complexity in a given set of values. … Continue reading

Posted in c++, Data Structure, interview Question, Programming | Tagged | Leave a comment

Finding loop in a singly linked-list

Finding a loop in given link list using hash map. 2. Another way to find out is using one slow and one fast pointer. To keep post clean have specified only function you can check complete program in my git … Continue reading

Posted in c++, Data Structure, interview Question, Programming | Tagged , | Leave a comment

Circular LinkList Abstract Data Type Implementation

Using this program you can insert and delete elements start, end or between two nodes (given position).This program contain a function which uses Hash Map to check whether linklist have loop or not.Comments describe program well. A Developer Gy@n!

Posted in c++, Data Structure, Programming | Tagged , , | Leave a comment

Remove duplicate character from a given string program in c++

There are many way to write a program to solve a problem. removing duplicate character from a given string can also solve in many way with different time and space complexity. I have written three functions which can be used … Continue reading

Posted in c++, interview Question, Programming | Tagged , | 1 Comment