How tanmaysahay94/algorithm works
This repository is an archive of independent C, C++, Java, and Python programs—not a single application or shared runtime. Its principal workflow is a person supplying problem input to an individual solution, which computes and prints a result. The README describes the collection broadly; sampled programs confirm standalone input/compute/output behavior. The graph groups the archive by language and preserves representative sampled solutions; most files are independent, so no internal calls between them are implied.
Main entry points: 0060_bsearch.c Binary search demo · 0127_DRAGNXOR.c Bitwise XOR · 0236_bsearch.c Randomized search · 0473_pipeline.cpp Pipeline problem
Components 21
C solutions
- C problem archive
C - Binary search demo
C/0060_bsearch.c - Bitwise XOR
C/0127_DRAGNXOR.c - Randomized search
C/0236_bsearch.c
C++ solutions
- C++ problem archive
CPP - Pipeline problem
CPP/0473_pipeline.cpp - String queries
CPP/0636_query.cpp - Route search
CPP/1057_twoRoutes.cpp - Beverage problem
CPP/0935_bevarage.cpp
InterviewBit solutions
- InterviewBit algorithms
interviewbit - Rotated search
interviewbit/binarysearch/searchRotated.cpp - Matrix search
interviewbit/binarysearch/searchMatrix.cpp - String matching
interviewbit/strings/stringSearch.cpp - Word search
interviewbit/graphs/wordsearch.cpp - Tree conversion
interviewbit/trees/BstToDll.cpp
Other programs
- Social network demo
PY/0257_socialNetwork.py - Java example
JAVA/HelloWorld.java - ICPC practice
icpcPractice - Project Euler
projectEuler
Other components
- Problem solver
- Printed or returned result
Connections 26
- Problem solver → Binary search demo: enters input
C/0060_bsearch.c - Binary search demo → Printed or returned result: prints result
C/0060_bsearch.c - Problem solver → Bitwise XOR: enters cases
C/0127_DRAGNXOR.c - Bitwise XOR → Printed or returned result: prints result
C/0127_DRAGNXOR.c - Problem solver → Randomized search: enters query
C/0236_bsearch.c - Randomized search → Printed or returned result: prints result
C/0236_bsearch.c - Problem solver → Pipeline problem: enters input
CPP/0473_pipeline.cpp - Pipeline problem → Printed or returned result: prints result
CPP/0473_pipeline.cpp - Problem solver → String queries: enters queries
CPP/0636_query.cpp - String queries → Printed or returned result: prints answers
CPP/0636_query.cpp - Problem solver → Route search: enters graph
CPP/1057_twoRoutes.cpp - Route search → Printed or returned result: prints distance
CPP/1057_twoRoutes.cpp - Problem solver → Rotated search: provides array
- Problem solver → Matrix search: provides matrix
- Problem solver → String matching: provides strings
- Problem solver → Word search: provides grid
- Rotated search → Printed or returned result: returns index
interviewbit/binarysearch/searchRotated.cpp - Matrix search → Printed or returned result: returns match
interviewbit/binarysearch/searchMatrix.cpp - String matching → Printed or returned result: returns position
interviewbit/strings/stringSearch.cpp - Word search → Printed or returned result: returns match
interviewbit/graphs/wordsearch.cpp - Problem solver → Tree conversion: provides tree
interviewbit/trees/BstToDll.cpp - Tree conversion → Printed or returned result: prints list
interviewbit/trees/BstToDll.cpp - Problem solver → Social network demo: uses features
- Social network demo → Printed or returned result: returns data
- Problem solver → C++ problem archive: selects solution
- Problem solver → C problem archive: selects solution