├── 10 ├── solution.cpp ├── solution.exe └── solution.o ├── 11 ├── solution.cpp ├── solution.exe └── solution.o ├── 12 ├── attempt2.cpp ├── attempt2.exe ├── attempt2.o ├── solution.cpp ├── solution.exe └── solution.o ├── 13 ├── solution.cpp ├── solution.exe └── solution.o ├── 14 ├── solution.cpp ├── solution.exe └── solution.o ├── 15 └── solution.cpp ├── 16 ├── solution.cpp ├── solution.exe └── solution.o ├── 17 ├── solution.cpp ├── solution.exe └── solution.o ├── 18 └── solution.cpp ├── 19 └── solution.cpp ├── 20 └── solution.cpp ├── 21 └── solution.cpp ├── 22 └── solution.cpp ├── 23 └── solution.cpp ├── 24 └── solution.cpp ├── 25 ├── solution.cpp ├── solution.exe └── solution.o ├── 26 └── solution.cpp ├── 27 └── solution.cpp ├── 28 ├── solution.cpp ├── solution.exe └── solution.o ├── 29 └── solution.cpp ├── 30 ├── 31.cpp ├── 31.exe └── 31.o ├── 31 ├── conditional_solution.cpp ├── conditional_solution.exe ├── conditional_solution.o ├── solution.cpp ├── solution.exe └── solution.o ├── 32 ├── Problem Statement │ ├── 1.jpeg │ ├── 2.jpeg │ ├── 3.jpeg │ ├── 4.jpeg │ ├── 5.jpeg │ ├── 6.jpeg │ └── 7.jpeg ├── solution.cpp ├── solution.exe └── solution.o ├── 33 ├── 34.cpp └── 34.o ├── 34 ├── 35.cpp └── 35.o ├── 35 ├── 36.cpp └── 36.o ├── 36 ├── 37.cpp └── a.out ├── 37 ├── a.out └── r115_2.cpp ├── .DS_Store ├── .gitattributes ├── .gitignore ├── .vscode ├── c_cpp_properties.json └── settings.json ├── 01 ├── 01.cpp ├── 01.exe └── 01.o ├── 02 ├── 02.cpp ├── 02.exe ├── 02.o ├── 02_opti.cpp └── a.out ├── 04 ├── solution.cpp ├── solution.exe └── solution.o ├── 05 └── solution.cpp ├── 06 ├── solution.cpp ├── solution.exe └── solution.o ├── 07 ├── cycle_in_graph └── cycle_in_graph.cpp ├── 08 └── solution.cpp ├── 09 └── solution.cpp ├── MayankQuestion └── solution.cpp ├── README.md ├── SampleQuestion01 ├── a.out └── solution.cpp ├── SampleQuestion02 ├── a.out ├── solution.cpp ├── solution.exe └── solution.o └── SampleQuestion03 ├── a.out └── solution.cpp /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | a.out 2 | .exe 3 | .vscode 4 | 5 | -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.language": "en" 3 | } -------------------------------------------------------------------------------- /01/01.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/01/01.cpp -------------------------------------------------------------------------------- /01/01.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/01/01.exe -------------------------------------------------------------------------------- /01/01.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/01/01.o -------------------------------------------------------------------------------- /02/02.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/02/02.cpp -------------------------------------------------------------------------------- /02/02.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/02/02.exe -------------------------------------------------------------------------------- /02/02.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/02/02.o -------------------------------------------------------------------------------- /02/02_opti.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/02/02_opti.cpp -------------------------------------------------------------------------------- /02/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/02/a.out -------------------------------------------------------------------------------- /04/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/04/solution.cpp -------------------------------------------------------------------------------- /04/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/04/solution.exe -------------------------------------------------------------------------------- /04/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/04/solution.o -------------------------------------------------------------------------------- /05/solution.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Rat in a maze + longest subpath principle 4 | 5 | */ -------------------------------------------------------------------------------- /06/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/06/solution.cpp -------------------------------------------------------------------------------- /06/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/06/solution.exe -------------------------------------------------------------------------------- /06/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/06/solution.o -------------------------------------------------------------------------------- /07/cycle_in_graph: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/07/cycle_in_graph -------------------------------------------------------------------------------- /07/cycle_in_graph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/07/cycle_in_graph.cpp -------------------------------------------------------------------------------- /08/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/08/solution.cpp -------------------------------------------------------------------------------- /09/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/09/solution.cpp -------------------------------------------------------------------------------- /10/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/10/solution.cpp -------------------------------------------------------------------------------- /10/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/10/solution.exe -------------------------------------------------------------------------------- /10/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/10/solution.o -------------------------------------------------------------------------------- /11/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/11/solution.cpp -------------------------------------------------------------------------------- /11/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/11/solution.exe -------------------------------------------------------------------------------- /11/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/11/solution.o -------------------------------------------------------------------------------- /12/attempt2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/12/attempt2.cpp -------------------------------------------------------------------------------- /12/attempt2.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/12/attempt2.exe -------------------------------------------------------------------------------- /12/attempt2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/12/attempt2.o -------------------------------------------------------------------------------- /12/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/12/solution.cpp -------------------------------------------------------------------------------- /12/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/12/solution.exe -------------------------------------------------------------------------------- /12/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/12/solution.o -------------------------------------------------------------------------------- /13/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/13/solution.cpp -------------------------------------------------------------------------------- /13/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/13/solution.exe -------------------------------------------------------------------------------- /13/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/13/solution.o -------------------------------------------------------------------------------- /14/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/14/solution.cpp -------------------------------------------------------------------------------- /14/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/14/solution.exe -------------------------------------------------------------------------------- /14/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/14/solution.o -------------------------------------------------------------------------------- /15/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/15/solution.cpp -------------------------------------------------------------------------------- /16/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/16/solution.cpp -------------------------------------------------------------------------------- /16/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/16/solution.exe -------------------------------------------------------------------------------- /16/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/16/solution.o -------------------------------------------------------------------------------- /17/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/17/solution.cpp -------------------------------------------------------------------------------- /17/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/17/solution.exe -------------------------------------------------------------------------------- /17/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/17/solution.o -------------------------------------------------------------------------------- /18/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/18/solution.cpp -------------------------------------------------------------------------------- /19/solution.cpp: -------------------------------------------------------------------------------- 1 | // Kahn's Algo -------------------------------------------------------------------------------- /20/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/20/solution.cpp -------------------------------------------------------------------------------- /21/solution.cpp: -------------------------------------------------------------------------------- 1 | // Implement Stack Using BST -------------------------------------------------------------------------------- /22/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/22/solution.cpp -------------------------------------------------------------------------------- /23/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/23/solution.cpp -------------------------------------------------------------------------------- /24/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/24/solution.cpp -------------------------------------------------------------------------------- /25/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/25/solution.cpp -------------------------------------------------------------------------------- /25/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/25/solution.exe -------------------------------------------------------------------------------- /25/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/25/solution.o -------------------------------------------------------------------------------- /26/solution.cpp: -------------------------------------------------------------------------------- 1 | // Smallest Positive missing number in no extra space -------------------------------------------------------------------------------- /27/solution.cpp: -------------------------------------------------------------------------------- 1 | // Kadane's -------------------------------------------------------------------------------- /28/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/28/solution.cpp -------------------------------------------------------------------------------- /28/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/28/solution.exe -------------------------------------------------------------------------------- /28/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/28/solution.o -------------------------------------------------------------------------------- /29/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/29/solution.cpp -------------------------------------------------------------------------------- /30/31.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/30/31.cpp -------------------------------------------------------------------------------- /30/31.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/30/31.exe -------------------------------------------------------------------------------- /30/31.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/30/31.o -------------------------------------------------------------------------------- /31/conditional_solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/31/conditional_solution.cpp -------------------------------------------------------------------------------- /31/conditional_solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/31/conditional_solution.exe -------------------------------------------------------------------------------- /31/conditional_solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/31/conditional_solution.o -------------------------------------------------------------------------------- /31/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/31/solution.cpp -------------------------------------------------------------------------------- /31/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/31/solution.exe -------------------------------------------------------------------------------- /31/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/31/solution.o -------------------------------------------------------------------------------- /32/Problem Statement/1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/Problem Statement/1.jpeg -------------------------------------------------------------------------------- /32/Problem Statement/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/Problem Statement/2.jpeg -------------------------------------------------------------------------------- /32/Problem Statement/3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/Problem Statement/3.jpeg -------------------------------------------------------------------------------- /32/Problem Statement/4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/Problem Statement/4.jpeg -------------------------------------------------------------------------------- /32/Problem Statement/5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/Problem Statement/5.jpeg -------------------------------------------------------------------------------- /32/Problem Statement/6.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/Problem Statement/6.jpeg -------------------------------------------------------------------------------- /32/Problem Statement/7.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/Problem Statement/7.jpeg -------------------------------------------------------------------------------- /32/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/solution.cpp -------------------------------------------------------------------------------- /32/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/solution.exe -------------------------------------------------------------------------------- /32/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/32/solution.o -------------------------------------------------------------------------------- /33/34.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/33/34.cpp -------------------------------------------------------------------------------- /33/34.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/33/34.o -------------------------------------------------------------------------------- /34/35.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/34/35.cpp -------------------------------------------------------------------------------- /34/35.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/34/35.o -------------------------------------------------------------------------------- /35/36.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/35/36.cpp -------------------------------------------------------------------------------- /35/36.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/35/36.o -------------------------------------------------------------------------------- /36/37.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/36/37.cpp -------------------------------------------------------------------------------- /36/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/36/a.out -------------------------------------------------------------------------------- /37/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/37/a.out -------------------------------------------------------------------------------- /37/r115_2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/37/r115_2.cpp -------------------------------------------------------------------------------- /MayankQuestion/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/MayankQuestion/solution.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/README.md -------------------------------------------------------------------------------- /SampleQuestion01/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/SampleQuestion01/a.out -------------------------------------------------------------------------------- /SampleQuestion01/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/SampleQuestion01/solution.cpp -------------------------------------------------------------------------------- /SampleQuestion02/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/SampleQuestion02/a.out -------------------------------------------------------------------------------- /SampleQuestion02/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/SampleQuestion02/solution.cpp -------------------------------------------------------------------------------- /SampleQuestion02/solution.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/SampleQuestion02/solution.exe -------------------------------------------------------------------------------- /SampleQuestion02/solution.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/SampleQuestion02/solution.o -------------------------------------------------------------------------------- /SampleQuestion03/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/SampleQuestion03/a.out -------------------------------------------------------------------------------- /SampleQuestion03/solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MohMaya/TargetSMSNG/HEAD/SampleQuestion03/solution.cpp --------------------------------------------------------------------------------