Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trial to First Pull [IGNORE THIS] #606

Open
wants to merge 681 commits into
base: revert-522-add-everwordcasedstring
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
681 commits
Select commit Hold shift + click to select a range
659a49b
Create function that reverses the order of a sentence
Oct 30, 2018
1db0a38
Create ReverseString.py
iPilotte Oct 30, 2018
660403c
CompareLists
michaelik Oct 30, 2018
b9ec8ec
Create ReverseVowels.py
iPilotte Oct 30, 2018
54499ae
Hellow Ts
Oct 30, 2018
4622cd7
begginerProblem.js
Oct 30, 2018
2c238a5
Create fibo.cpp
harshgauttam Oct 30, 2018
7b477ba
Merge pull request #760 from akshayrpatel/master
iamjaspreetsingh Oct 30, 2018
9c20c94
Merge pull request #762 from josisusan/reverse_word_go
iamjaspreetsingh Oct 30, 2018
cea2c0d
Merge pull request #761 from CodeB9/master
iamjaspreetsingh Oct 30, 2018
9ed75d6
Merge pull request #763 from uygaraktuna/u
iamjaspreetsingh Oct 30, 2018
d9a3328
Merge pull request #755 from Aaxkit9/axkit
iamjaspreetsingh Oct 30, 2018
4f18b79
Merge pull request #774 from michaelik/pycomparelist
iamjaspreetsingh Oct 30, 2018
e01e1a4
Merge pull request #773 from dorman99/master
iamjaspreetsingh Oct 30, 2018
f302925
Merge pull request #768 from molcay/master
iamjaspreetsingh Oct 30, 2018
88759c3
Merge pull request #759 from Aarav03/master
iamjaspreetsingh Oct 30, 2018
8b2011a
Create hello_world.c
riyagoyal17 Oct 30, 2018
8e3c134
Create SumOfFactorialDigits.scala
molcay Oct 30, 2018
d9562e8
pr2
vds-tanuj4567 Oct 30, 2018
ab27047
Solution to Helloworld.md
kmpkolhapur Oct 30, 2018
2f59168
Update ReverseVowels.py
iPilotte Oct 30, 2018
0ebd6d3
add Directions Reduction problem and solution
Oct 30, 2018
733ca52
Update ReverseString.py
iPilotte Oct 30, 2018
d5587d7
Create Choosing the judges.cpp
Mumbaikar007 Oct 30, 2018
65fe6b3
Update README.md
ArranNCR Oct 30, 2018
3614376
Bishu and girlfriend solution in C++
jasbir98 Oct 30, 2018
07dd312
Solution for Empty Bottles Challenge
ShivaSankeerth Oct 30, 2018
485ab3f
Create Hello_World.py
ShivaSankeerth Oct 30, 2018
3fa40d7
Merge pull request #784 from ShivaSankeerth/patch-1
Oct 30, 2018
4de52ae
Merge pull request #783 from jasbir98/master
Oct 30, 2018
a6f8d67
Merge pull request #777 from molcay/master
Oct 30, 2018
c23c8b5
Merge pull request #779 from kmpkolhapur/patch-1
Oct 30, 2018
294128c
Merge pull request #781 from Mumbaikar007/master
Oct 30, 2018
2580e68
Create ATM_Problem_Solution
ShivaSankeerth Oct 30, 2018
c37da1d
Merge pull request #780 from runyasak/add/directions-reduction
Oct 30, 2018
c1e58eb
Merge pull request #764 from rikazfawaiz/master
Oct 30, 2018
eb93a41
Merge pull request #786 from ShivaSankeerth/patch-3
Oct 30, 2018
3dbbf34
Merge pull request #782 from ArranNCR/master
Oct 30, 2018
e5b6286
Merge pull request #778 from vds-tanuj4567/patch-1
Oct 30, 2018
c082b57
Merge pull request #771 from palomon/patch-2
Oct 30, 2018
2e81013
Merge pull request #766 from molcay/patch-1
Oct 30, 2018
ab81fb9
Merge pull request #765 from cheriesyb/exercise-branch
Oct 30, 2018
6082816
Merge pull request #758 from Aarav03/patch-1
Oct 30, 2018
c62a111
Merge pull request #757 from surajkumarcse/new-branch
Oct 30, 2018
c890e8b
Hello World in one line
lucasalustiano Oct 30, 2018
1710789
a solution to the valid anagram problem
cd-andrew-workspace Oct 30, 2018
b32072e
Create Beginners_Problem2.py
arjunmohnot Oct 30, 2018
2ad83ec
Added competions.md
arjun0009 Oct 30, 2018
cdfc308
add name
YingChid Oct 30, 2018
6831275
Added changes
arjun0009 Oct 30, 2018
bba2fab
Update competitors.md
Navds Oct 30, 2018
a770d5e
Create ASCII.PY
ashishyadav400 Oct 30, 2018
0bea3d0
New question for pattern
evilgreat Oct 30, 2018
5db4d4f
Added solution for Circular primes in python
arjun0009 Oct 30, 2018
fbf0454
Make the question more readable
Oct 30, 2018
b64a980
Create helloworld.c
kiranmurali93 Oct 31, 2018
e301ccb
Merge pull request #788 from cd-andrew-workspace/master
iamjaspreetsingh Oct 31, 2018
84548d6
Create atmprob.c
kiranmurali93 Oct 31, 2018
9c65300
Create beginnerprob2.c
kiranmurali93 Oct 31, 2018
311d506
Create sum_sq_diff.py
kiranmurali93 Oct 31, 2018
fe348b8
unsaved changes
akarshsingh9 Oct 31, 2018
c9b72fa
Merge branch 'develop'
akarshsingh9 Oct 31, 2018
7adbda2
OPEN CHALLENGE Issue #48 - python script to download YouTube Videos
akarshsingh9 Oct 31, 2018
defbadf
Revert "unsaved changes"
akarshsingh9 Oct 31, 2018
0cd1d6c
adds reverse-word solution
jay4jyotika Oct 31, 2018
194888b
solved Solve beginner's Problem #682
Oct 31, 2018
4d6b25e
Update README.md
Danodya Oct 31, 2018
be2945f
Update README.md
Danodya Oct 31, 2018
c89e825
Solution to 12 hr to 24hr conversion in js
ojas360 Oct 31, 2018
8459ad3
sumsquaredifference
dhanan17 Oct 31, 2018
d043254
hello-world.pas
tausifshahbaz Oct 31, 2018
cc790bb
Update
HelloWorld43210 Oct 31, 2018
b73f46d
Fibonacci.java
PrashantSury Oct 31, 2018
a8c38d8
Find An Armstrong Number.
PrashantSury Oct 31, 2018
244e1c0
Adding my Stack program
ayushg162 Oct 31, 2018
25db550
Add my changes :)
akshatagg06 Oct 31, 2018
b6c6683
Merge pull request #801 from akarshsingh9/openchallenge
iamjaspreetsingh Oct 31, 2018
de4b635
Merge pull request #798 from kiranmurali93/patch-2
iamjaspreetsingh Oct 31, 2018
f2b2b1f
Merge pull request #799 from kiranmurali93/patch-3
iamjaspreetsingh Oct 31, 2018
dde234c
Merge pull request #803 from italo48/master
iamjaspreetsingh Oct 31, 2018
8f7b45d
Merge pull request #802 from jay4jyotika/master
iamjaspreetsingh Oct 31, 2018
e58bb57
Merge pull request #806 from ojas360/patch-1
iamjaspreetsingh Oct 31, 2018
19501be
A ruby program to find largest palindrome.
barunthapa Oct 31, 2018
c632d07
Merge pull request #807 from djay2815/bad
iamjaspreetsingh Oct 31, 2018
a18309c
Merge pull request #804 from Danodya/patch-1
iamjaspreetsingh Oct 31, 2018
67c3396
Merge pull request #808 from tausifshahbaz/tausif
iamjaspreetsingh Oct 31, 2018
981ad06
Merge pull request #790 from pvcpre/feature/add_me
iamjaspreetsingh Oct 31, 2018
fdb7597
Merge pull request #810 from PrashantSury/patch-1
iamjaspreetsingh Oct 31, 2018
e1de67e
Merge pull request #811 from PrashantSury/patch-2
iamjaspreetsingh Oct 31, 2018
8b6ed6f
Merge pull request #812 from ayushg162/master
iamjaspreetsingh Oct 31, 2018
4bb5924
Merge pull request #813 from AkshatAggEm/master
iamjaspreetsingh Oct 31, 2018
c79d0dd
Merge pull request #814 from barunthapa/solution-largest_palindrome
iamjaspreetsingh Oct 31, 2018
a55bb3e
Merge pull request #700 from 94BTZ/new-branch
iamjaspreetsingh Oct 31, 2018
b751a2f
Merge pull request #772 from palomon/patch-3
iamjaspreetsingh Oct 31, 2018
e7e5a73
Merge pull request #797 from kiranmurali93/patch-1
iamjaspreetsingh Oct 31, 2018
b936541
Armstrong number solution in perl
shivani-madugula Oct 31, 2018
f484982
Merge pull request #1 from hackerearthclub/master
ashwek Oct 31, 2018
4ff67c1
Update Best_Numbers.java
sita1999 Oct 31, 2018
623368d
Create 3rd Largest number in Unsorted Array
siddharthsuneel Oct 31, 2018
eec626a
Rename 3rd Largest number in Unsorted Array to 3rd Largest number in …
siddharthsuneel Oct 31, 2018
91b5c7b
Solution: 3rd-Largest-number-in-Unsorted-Array
siddharthsuneel Oct 31, 2018
ca451ea
Create Armstrong.py
ashwek Oct 31, 2018
1f89d2e
solution of Solve beginner's Problem #682
divya144 Oct 31, 2018
5715b35
one directory is missing
softsellers299 Oct 31, 2018
2ffd49d
Create 3rd largest.py
ashwek Oct 31, 2018
434bfe4
Create SegmentTree.java
ARulzz Oct 31, 2018
fce71fd
Create Counting Number of Ways.cpp
Mumbaikar007 Oct 31, 2018
e953ccf
law2
Mac2208 Oct 31, 2018
16a6d9c
Heylo World
singh03 Oct 31, 2018
64ed923
Octal decimal convertor
singh03 Oct 31, 2018
8afb814
Merge pull request #825 from singh03/patch-2
Oct 31, 2018
b1d364a
Rename A new way to say hello world to A new way to say hello world.java
Oct 31, 2018
73bc344
Merge pull request #824 from singh03/patch-1
Oct 31, 2018
c25706d
Merge pull request #823 from Mac2208/master
Oct 31, 2018
eb4e376
Merge pull request #821 from ARulzz/patch-1
Oct 31, 2018
ea643a4
Merge pull request #820 from softsellers299/patch-1
Oct 31, 2018
81d887a
Merge pull request #818 from ashwek/master
Oct 31, 2018
b8ea798
Merge pull request #822 from Mumbaikar007/master
Oct 31, 2018
d378b23
Merge pull request #819 from divya144/master
Oct 31, 2018
75a361d
Merge pull request #815 from shivani-madugula/patch-1
Oct 31, 2018
a524492
Merge pull request #816 from sita1999/patch-1
Oct 31, 2018
3acc6d1
Merge pull request #817 from siddharthsuneel/master
Oct 31, 2018
e7ccf5f
Merge pull request #795 from ivanightingale/patch-1
Oct 31, 2018
d743d95
Merge pull request #809 from HelloWorld43210/patch-1
Oct 31, 2018
02eaf52
Merge pull request #796 from kiranmurali93/kiranmurali93-patch-1
Oct 31, 2018
114dcf5
Merge pull request #794 from evilgreat/patch-1
Oct 31, 2018
4c060f1
Merge pull request #805 from Danodya/patch-2
Oct 31, 2018
6d1a85a
Merge pull request #793 from ashishyadav400/patch-1
Oct 31, 2018
a3d3915
Merge pull request #787 from lucasalustiano/master
Oct 31, 2018
fcc9055
Merge pull request #756 from rakeshub4/patch-1
Oct 31, 2018
e9e91b5
Create matrix.js
AlcaDesign Oct 31, 2018
d64709b
Create hello-world
juliandpc Oct 31, 2018
d414628
Add - Kevin Rojas
kevinrb Nov 1, 2018
a849089
Add Hello World in PHP
kevinrb Nov 1, 2018
5b20dcd
Now I removed anotherfile.txt for sure
Khalid3620 Nov 1, 2018
4a35d10
Moved reverseword.py file into open challenge directory
Khalid3620 Nov 1, 2018
1f6a4d8
Merge pull request #2 from ahmedk2/master
ahmedk2 Nov 1, 2018
44669b2
Merge pull request #1 from ahmedk2/new-branch
ahmedk2 Nov 1, 2018
e2dce6c
Revert "I'm testing this"
ahmedk2 Nov 1, 2018
54df660
Merge pull request #3 from ahmedk2/revert-1-new-branch
ahmedk2 Nov 1, 2018
93a8e6f
Merge pull request #4 from ahmedk2/master
ahmedk2 Nov 1, 2018
d45d12a
Merge pull request #2 from hackerearthclub/master
ashwek Nov 1, 2018
3215ecb
Merge pull request #826 from AlcaDesign/patch-1
iamjaspreetsingh Nov 1, 2018
b030be0
Merge pull request #828 from kevinrb/patch-1
iamjaspreetsingh Nov 1, 2018
bdd0b82
Merge pull request #830 from ahmedk2/revert-1-new-branch
Nov 1, 2018
bafe5ec
Merge pull request #829 from kevinrb/patch-2
Nov 1, 2018
33e5170
Merge branch 'master' into master
iamjaspreetsingh Nov 2, 2018
f85ef83
Merge pull request #792 from Navds/master
iamjaspreetsingh Nov 2, 2018
4cbdc78
Added FizzBuzz.py
ashwek Nov 3, 2018
fad5277
Merge pull request #831 from ashwek/FizzBuzz
iamjaspreetsingh Nov 3, 2018
119c7e4
Merge branch 'master' into master
iamjaspreetsingh Nov 4, 2018
3afaf8f
Merge pull request #721 from melvinabraham/master
iamjaspreetsingh Nov 4, 2018
18bff75
Merge branch 'master' into patch-2
iamjaspreetsingh Nov 5, 2018
608617f
Merge pull request #706 from LynusMascot/patch-2
iamjaspreetsingh Nov 5, 2018
d68bebc
Merge branch 'master' into master
iamjaspreetsingh Nov 6, 2018
e889f4e
Merge pull request #791 from Arjun009/master
iamjaspreetsingh Nov 6, 2018
b59e322
Merge pull request #396 from prashansanb/master
iamjaspreetsingh Nov 7, 2018
ac41b3a
Merge branch 'master' into patch-2
iamjaspreetsingh Nov 9, 2018
7cfa883
Merge pull request #785 from ShivaSankeerth/patch-2
iamjaspreetsingh Nov 9, 2018
693d5e6
Merge pull request #692 from bj1408/master
iamjaspreetsingh Nov 20, 2018
28a5cfc
Solution for Beginners Problem 2.0
Nami2012 Nov 29, 2018
5ea56c2
Merge pull request #1 from Nami2012/Nami2012-patch-1
Nami2012 Nov 29, 2018
48cbd3d
SOLUTION FOR binary mulitple of 3
Nami2012 Dec 3, 2018
11d7751
3rd largest element in an unsorted array
Nami2012 Dec 10, 2018
2eb7b17
Merge pull request #2 from Nami2012/3rd_large_unsorted
Nami2012 Dec 10, 2018
cdcacf2
Merge pull request #835 from Nami2012/3rd_large_unsorted
Dec 14, 2018
03a96fc
Merge pull request #833 from Nami2012/patch-1
Dec 14, 2018
88f1deb
location changed
Dec 14, 2018
e068ad9
Rename ASSIGNMENTS/BeginnersProblem2.0.py to SOLUTIONS/BeginnersProbl…
Dec 14, 2018
de7b489
Merge pull request #832 from Nami2012/master
Dec 14, 2018
e460f50
Rename FizzBuzz.py to SOLUTIONS/FizzBuzz.py
Dec 14, 2018
de6be04
Rename freq.py to SOLUTIONS/freq.py
Dec 14, 2018
2f63779
Rename Best_Numbers.java to Best__Numbers.java
Dec 14, 2018
0481524
Rename raw3.md to SOLUTIONS/raw3.md
Dec 14, 2018
d9630e6
Rename solution_hw.py to SOLUTIONS/solution_hw.py
Dec 14, 2018
d4b6ab1
Rename fibonacci.py to fibonacci3.py
Dec 16, 2018
982c417
Merge pull request #713 from anurag3it/master
Dec 16, 2018
7644a35
Rename hello-world to SOLUTIONS/hello-world
Dec 16, 2018
2eddcff
Merge pull request #827 from juliandpc/patch-1
Dec 16, 2018
ab99490
Rename Beginners_Problem2.py to Beginners_Problem3.py
Dec 16, 2018
75f6c4b
Merge pull request #789 from Arjun009/patch-1
Dec 16, 2018
3630c64
Rename hello_world.c to hello_world1.c
Dec 16, 2018
fe0d6ea
Merge pull request #776 from riyagoyal17/master
Dec 16, 2018
753a06b
Rename fibo.cpp to SOLUTIONS/fibo.cpp
Dec 16, 2018
f221d4d
Rename SOLUTIONS/fibo.cpp to OPEN CHALLENGE/fibo.cpp
Dec 16, 2018
ee13b01
Merge pull request #775 from harshgauttam/patch-1
Dec 16, 2018
fccbc3e
Rename Hello to SOLUTIONS/Hello
Dec 16, 2018
cf88148
Merge pull request #749 from chaurasiauttkarsh/master
Dec 16, 2018
7e5adf9
Rename open challenge/ReverseWord.py to SOLUTIONS/ReverseWord.py
Dec 16, 2018
8b79384
Rename open challenge/ReverseWord.py to SOLUTIONS/ReverseWord.py
Dec 16, 2018
fe11b41
Merge pull request #742 from ahmedk2/new-branch
Dec 16, 2018
a729442
Rename register.py to SOLUTIONS/register.py
Dec 16, 2018
fc933ea
Merge pull request #725 from DaLeste777/master
Dec 16, 2018
39d1c04
Merge pull request #720 from tedjacobs/master
Dec 16, 2018
44ccfd1
Merge pull request #745 from ahmedk2/master
Dec 16, 2018
febb91d
Rename fizzbuzz to SOLUTIONS/fizzbuzz
Dec 16, 2018
0d39e23
Rename sens numbers to SOLUTIONS/sens numbers
Dec 16, 2018
2ad7736
Merge pull request #695 from vindhya2001/master
Dec 16, 2018
85de1af
Merge pull request #697 from velnata/master
Dec 16, 2018
e134c8e
Rename helloworld.py to SOLUTIONS/helloworld.py
Dec 16, 2018
ea4e7ec
Rename frequency.py to SOLUTIONS/frequency.py
Dec 16, 2018
3f45716
Merge pull request #689 from gargeesuresh/master
Dec 16, 2018
ff289f1
Merge pull request #662 from prateek552/master
Dec 16, 2018
e818387
Rename sol to SOLUTIONS/sol
Dec 16, 2018
372b2a4
Merge pull request #690 from gargeesuresh/patch-1
Dec 16, 2018
a1ea0ea
Rename hh to SOLUTIONS/hh
Dec 16, 2018
31c6618
Merge pull request #634 from rgandhi3352/patch-1
Dec 16, 2018
a8e80f4
Rename ankit to SOLUTIONS/ankit
Dec 16, 2018
9871298
Merge pull request #570 from ANKIT-CH/master
Dec 16, 2018
989c6f1
Merge pull request #557 from Shubhanshu07/master
Dec 16, 2018
da97e9c
Rename Hacktoberfest.py to SOLUTIONS/Hacktoberfest.py
Dec 16, 2018
eb140ff
Merge pull request #317 from MakarovGCI2018/patch-1
Dec 16, 2018
14bb492
Rename ASSIGNMENTS/decimaltobainary.md to SOLUTIONS/decimaltobainary.md
Dec 16, 2018
52a77f8
Merge pull request #271 from Farzanfa/patch-2
Dec 16, 2018
a371715
Rename ASSIGNMENTS/NUMBGAME.java to SOLUTIONS/NUMBGAME.java
Dec 16, 2018
24748f7
Merge pull request #217 from honya99/patch-1
Dec 16, 2018
fc2010b
Rename Search for Pretty Integers.py to SOLUTIONS/Search for Pretty I…
Dec 16, 2018
711859d
Merge pull request #207 from lucas-lucena/patch-1
Dec 16, 2018
3e9a696
Rename ASSIGNMENTS/HELLOWORLD.PY to SOLUTIONS/HELLOWORLD.PY
Dec 16, 2018
80f8847
Merge pull request #172 from vidhiguptaa/patch-1
Dec 16, 2018
d62e081
Rename lcm.cpp to SOLUTIONS/lcm.cpp
Dec 16, 2018
4530648
Rename search.cpp to SOLUTIONS/search.cpp
Dec 16, 2018
193ba9c
Merge pull request #135 from adarsh1498/master
Dec 16, 2018
873ac28
Rename ASSIGNMENTS/reverse-word to SOLUTIONS/reverse-word
Dec 16, 2018
6aa8a09
Merge pull request #94 from ketphan02/patch-2
Dec 16, 2018
fad076a
Rename rock ,paper, scissors to SOLUTIONS/rock ,paper, scissors
Dec 16, 2018
f651d04
Merge pull request #79 from mihirapappu/patch-3
Dec 16, 2018
17f44e8
Rename Rock, paper, scissors.. to SOLUTIONS/Rock, paper, scissors..
Dec 16, 2018
66eb34d
Merge pull request #82 from mihirapappu/patch-4
Dec 16, 2018
a0318fa
Rename sumfactorialdigit.py to SOLUTIONS/sumfactorialdigit.py
Dec 16, 2018
3e8ecf0
Merge pull request #54 from fauzipradipta/master
Dec 16, 2018
aa5e4bf
python answer to circular primes
MarkoShiva Jan 12, 2019
f853020
improved the answer by adding the a bit more expensive computation fo…
MarkoShiva Jan 12, 2019
670aa6e
lowered sieve computation to just a digit higher
MarkoShiva Jan 12, 2019
47b7a21
minor changes formating
MarkoShiva Jan 12, 2019
e8f06ba
minor changes formating
MarkoShiva Jan 12, 2019
68528c3
removed redundant function and did string slice
MarkoShiva Jan 12, 2019
70c83ad
minor changes formating
MarkoShiva Jan 12, 2019
f820701
typo forgot to remove debug print
MarkoShiva Jan 12, 2019
11fef89
Merge branch 'master' of github.com:hackerearthclub/CODE2RACE
MarkoShiva Jan 12, 2019
d71659a
coverter done
MarkoShiva Jan 14, 2019
669d3b7
Merge pull request #836 from in1t3r/master
iamjaspreetsingh Jan 16, 2019
84370a7
Not the smallest complexity but elegant way to solve it. it can be do…
MarkoShiva Jan 31, 2019
95351ff
Merge pull request #838 from in1t3r/master
iamjaspreetsingh Feb 3, 2019
2a075d7
Updates to Contributors to make it look better.
praveenscience Mar 28, 2019
bd9265d
Made the data structured.
praveenscience Mar 28, 2019
a2af1f1
Added my name.
praveenscience Mar 28, 2019
234e4d6
Corrected few more lines.
praveenscience Mar 28, 2019
c7a405e
Removed unnecessary last line.
praveenscience Mar 28, 2019
c65bc4f
Merge pull request #839 from praveenscience/patch-2
iamjaspreetsingh May 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ matrix:

notifications:
on_success: change
on_failure: change # `always` will be the setting once code changes slow down
on_failure: change # `always` will be the setting once code changes fast
26 changes: 26 additions & 0 deletions ASSIGNMENTS/12 hr to 24 hr format
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Given a time in 12-hour AM/PM format, convert it to military (24-hour) time.

Note: Midnight is 12:00:00AM on a 12-hour clock, and 00:00:00 on a 24-hour clock. Noon is 12:00:00PM on a 12-hour clock, and 12:00:00 on a 24-hour clock.

Function Description

Complete the timeConversion function in the editor below. It should return a new string representing the input time in 24 hour format.

timeConversion has the following parameter(s):

s: a string representing time in 12-hour format
Input Format

A single string containing a time in -hour clock format (i.e. hh:mm:ss AM or hh:mm:ss PM ), where 01<=hh<=12 and 00<=mm,ss<=59 .

Constraints

All input times are valid
Output Format

Convert and print the given time in 24-hour format, where 00<=hh<=24 .

Sample Input 0:
07:05:45PM
Sample Output 0:
19:05:45
3 changes: 3 additions & 0 deletions ASSIGNMENTS/3rd Largest number in Unsorted Array.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Use any language & write a program that takes an unsorted array in input & returns the third largest number form Array as output.

Make sure, Solution has minimum complexity possible.
39 changes: 39 additions & 0 deletions ASSIGNMENTS/A Game of Robots.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
You've built some robots and placed them on an one dimensional grid with n cells. Their arrangement is given by a string s of length n. Each character of the string is either '.' or a digit in the range '0' to '9'. A '.' represents that there is no robot at that cell initially. A digit represents a robot initially in that cell. Specifically, the digit x denotes that the range of the robot is from x cells to the left of its starting point to x cells to the right of its starting point.

For example, suppose the 7th character of the string is 3, then that means that there is a robot starting from the 7th cell, and its range is from the 4th cell (7 - 3 = 4) to the 10th cell (7 + 3 = 10) (both end points inclusive). The robots can move only within their range, and even if their range allows it, they cannot move out of the grid.

You want to play a game with these robots. Before starting the game, you can give each robot a starting direction (either left or right). When the robot is initialized with a direction, it will move in that direction until it can (ie. it can't go past its range, and neither can it go outside the grid) and will reverse its direction and go as far as possible in that direction, and then reverse, and so. It will keep going like this forever. Assume that the change of direction happens instantaneously.

But the catch is that each of the robots can start their journey at any time. They don't all have to start at the same second. It won't stop once it starts moving though. And they all move at the same speed of one cell per second, once they start.

The robots have gained consciousness, and have begun questioning their purpose in life. So given a chance, they will collide with each other and end their misery. They can coordinate with each other as well and decide when they should start their journeys. Two robots are said to have collided if they are at the same cell at the same moment.

You are wondering whether it is possible to give the robots the initial directions in such a way that no robots collide with each other (ie. they'll all be safe), or if no matter what initial directions you give, some of them will end up colliding with each other (ie. unsafe).
<br><br>
<b>Input</b>
The first line of the input contains an integer T denoting the number of test cases. The description of the test cases follows.
The only line of each test case contains a string s.<br>
<b>Output</b>
For each test case, output a single line containing "safe" or "unsafe" (without quotes).<br>
<b>Constraints</b><br>
1=T=3*104<br>
1= length of s=50<br>
s[i] will be one of the following characters {'.', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}<br>
<b>Example</b>
<b>Input</b>
4
....
.2.....
.2...2..
1.1.1.<br>
<b>Output</b>
safe
safe
unsafe
unsafe<br>
<b>Explanation</b>
Example 1: No robots. Everything is safe.

Example 2: Only one robot. Everything safe. To give an example of its movement, suppose you give it the starting direction as left and suppose it decides to start moving at time = 5 seconds. Then till t = 5, it is at cell 2 (its starting position, 1-based indexing). At t = 6, it is at cell 1. At t = 7, it is at cell 2, at t = 8, it will be at cell 3, at t = 9 it will be at cell 4 and at t = 10 it will be at cell 3. And so on.

Example 3: No matter what initial directions you give, the two robots can coordinate and start their journeys such that they collide at the cell 4.
10 changes: 9 additions & 1 deletion ASSIGNMENTS/ACIIIproduct.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,12 @@ Output : 6059
73 * 83 = 6059

Input : str = "GfG"
Output : 514182
Output : 514182


Input : str = "ab"
Output : 9506

Input: str="AB"
Output: 4290

2 changes: 2 additions & 0 deletions ASSIGNMENTS/ATM problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ Explanation
Example case 1: The ATM machine initially contains 10 units of money. The first person comes and withdraws 3 units, so the amount remaining in the machine is 7. Then the second person withdraws 5 units and the remaining amount is 2. The third person wants to withdraw 3 units, but since there are only 2 units of money in the machine, it throws an error and the third person must leave without getting anything. Then the fourth person withdraws 2 units, which leaves nothing in the machine, so the last person does not get anything.

Example case 2: The ATM machine initially contains 6 units of money, so it cannot give anything to the first and second person. When the third person comes, it gives them all the money it has, so the last person does not get anything either.

The operating system and compatibility of that server matters the working of an ATM machine.
45 changes: 45 additions & 0 deletions ASSIGNMENTS/Advanced prob_FizzBuzz
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Q)FizzBuzz
---------------------------------------------------------------------------------

Write a program that prints the numbers in the given range. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”. Print a new line after each string or number.
Input Format First line will be the number of testcases, T. Next line will have T integers, denoted by N.
Output Format For each testcase, print the number from 1 to N. But follow the rules given in the problem statement.
Constraints
1 <= T <= 10
N is an integer.
Please read the below instructions carefully
You can choose any language from the given list to write your solution.
All input to the programming solution is to STDIN and output is to STDOUT.
You don't have to manually give the input to your program, just take the input from STDIN and the code evaluation engine will provide the input to your program.
For example if you are coding in C, and the first input is an integer then simply do scanf('%d', &i) assuming you are reading that integer to a variable named i. Similarly if you are using C++ simply do cin >> i
There are two different type of test cases. First type is the sample input and output for which you know both the input and output. You can look at them under the problem statement.
When you click Compile and Test the code will be compiled and tested only on the sample input that is shown to you. Compile and Test is for you to understand if you solution is compiling and running against the sample input. 5 When you click submit, your code will be judged on multiple test cases which are hidden. These tests are not available for you to see them so you will not know the input on which your code will be tested. But it is assured that all inputs will be in the given constraint limit and in the given format as stated in the problem statement.
In order for your code to get accepted, it must clear all the judge test cases. In cases where partial marking is allowed, you will awarded partial marks for the number of test cases your solution passes.
Please note that getting green mark when you hit 'Compile and Test' does not indicate anything on the correctness of your program. It just indicates that your code correctly compiled and ran successfully against the sample input. It can still fail for other test inputs that visible to you.
Do not output anything, except what it is asked for in the output section. Note that you have to output only in the way that is mentioned. Any extra strings in the output will be treated as wrong answer. Even an extra space can lead to the answer not being accepted.
Don't assume any constraints on the input based on the sample input that you see, the actual test cases will be much larger in size. But they will always be within the constraints mentioned in the problem.
To understand how the code is evaluated visit the judge page. There is also a sample code in each language there.
To further understand how the judge works, look at one of the actual test input file and the corresponding expected output for this problem


Sample Input Sample Output

2
3 15 1
2
Fizz
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
22 changes: 22 additions & 0 deletions ASSIGNMENTS/ArmstrongNumber.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
**Find given number is an armstrong number or not?
Armstrong Number
Input Number: 153
1=>1*1*1=1
5=>5*5*5=125
3=> 3*3*3=27
Sum=>1+125+27=153
i.e; 153 is an armstrong number

Output:
153 is an armstrong number.

Input Number:125
1=>1*1*1=1
2=> 2*2*2=8
5=>5*5*5=125
Sum=>1+8+125!=125
i.e; 153 is not an armstrong number

Output:
125 is not an armstrong number.

14 changes: 14 additions & 0 deletions ASSIGNMENTS/Beginners Problem 2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Beginners Problem 2.0
Our juniors has just entered in coding community. Their first task is to find the frequency of Best numbers present in given list of elements. Best numbers are numbers which are divisible by 2.

SAMPLE INPUT
2
5
1 2 3 4 5
3
1 3 5
SAMPLE OUTPUT
2
0
Explanation
Number of test cases=2 1st test case, number of elements =5 Best numbers are 2 , 4 ; frequency=2 2nd test case, number of elements =3 No Best numbers
28 changes: 28 additions & 0 deletions ASSIGNMENTS/Bishu and his Girlfriend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Bishu and his Girlfriend

There are N countries {1,2,3,4....N} and N-1 roads(i.e depicting a tree)

Bishu lives in the Country 1 so this can be considered as the root of the tree.

Now there are Q girls who lives in various countries (not equal to 1) .

All of them want to propose Bishu.But Bishu has some condition.

He will accept the proposal of the girl who lives at minimum distance from his country.

Now the distance between two countries is the number of roads between them.

If two or more girls are at the same minimum distance then he will accept the proposal of the girl who lives in a country with minimum id.

No two girls are at same country.

Input: First line consists of N,i.e number of countries Next N-1 lines follow the type u v which denotes there is a road between u and v. Next line consists of Q Next Q lines consists of x where the girls live.

Output: Print the id of the country of the girl who will be accepted.

Help Him!!!!!

contraints: 2<=N<=1000 1<=u,v<=N 1<=Q<=(N-1)

--------------------------------------------------------
Author: https://www.hackerearth.com/@satishgpta007
9 changes: 9 additions & 0 deletions ASSIGNMENTS/CompareLists
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
Write a Python program to compare two unordered lists (not sets).

The program are:

from collections import Counter
def compare_lists(x, y):
return Counter(x) == Counter(y)
n1 = [20, 10, 30, 10, 20, 30]
n2 = [30, 20, 10, 30, 20, 50]
print(compare_lists(n1, n2))
73 changes: 73 additions & 0 deletions ASSIGNMENTS/Directions Reduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Directions Reduction

## **Once upon a time, on a way through the old wild west,…**
… a man was given directions to go from one point to another. The directions were "NORTH", "SOUTH", "WEST", "EAST". Clearly "NORTH" and "SOUTH" are opposite, "WEST" and "EAST" too. Going to one direction and coming back the opposite direction is a needless effort. Since this is the wild west, with dreadfull weather and not much water, it's important to save yourself some energy, otherwise you might die of thirst!

## How I crossed the desert the smart way.

The directions given to the man are, for example, the following:

```
["NORTH", "SOUTH", "SOUTH", "EAST", "WEST", "NORTH", "WEST"].
```

or

```
{ "NORTH", "SOUTH", "SOUTH", "EAST", "WEST", "NORTH", "WEST" };
```

or (haskell)

```
[North, South, South, East, West, North, West]
```

You can immediatly see that going "NORTH" and then "SOUTH" is not reasonable, better stay to the same place! So the task is to give to the man a simplified version of the plan. A better plan in this case is simply:

```
["WEST"]
```

or

```
{ "WEST" }
```

or (haskell)

```
[West]
```

or (rust)

```
[WEST];
```

## Other examples:

In `["NORTH", "SOUTH", "EAST", "WEST"]`, the direction `"NORTH" + "SOUTH"` is going north and coming back right away. What a waste of time! Better to do nothing.

The path becomes `["EAST", "WEST"]`, now `"EAST"` and `"WEST"` annihilate each other, therefore, the final result is `[]` (nil in Clojure).

In ["NORTH", "EAST", "WEST", "SOUTH", "WEST", "WEST"], "NORTH" and "SOUTH" are not directly opposite but they become directly opposite after the reduction of "EAST" and "WEST" so the whole path is reducible to ["WEST", "WEST"].

## Task

Write a function `dirReduc` which will take an array of strings and returns an array of strings with the needless directions removed (W<->E or S<->N side by side).

The Haskell version takes a list of directions with `data Direction = North | East | West | South`. The Clojure version returns nil when the path is reduced to nothing. The Rust version takes a slice of `enum Direction {NORTH, SOUTH, EAST, WEST}`.

## Examples
```
dirReduc(["NORTH", "SOUTH", "SOUTH", "EAST", "WEST", "NORTH", "WEST"]) => ["WEST"]
dirReduc(["NORTH", "SOUTH", "SOUTH", "EAST", "WEST", "NORTH"]) => []
```

## Note
Not all paths can be made simpler. The path ["NORTH", "WEST", "SOUTH", "EAST"] is not reducible. "NORTH" and "WEST", "WEST" and "SOUTH", "SOUTH" and "EAST" are not directly opposite of each other and can't become such. Hence the result path is itself : ["NORTH", "WEST", "SOUTH", "EAST"].

_Reference:_ https://www.codewars.com/kata/directions-reduction/
24 changes: 24 additions & 0 deletions ASSIGNMENTS/Don't Jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Chandu and Kundu are bored of dramatic games around. As they are very good friends and scholars they decided to discover a new game.
In total they had N number of marbles with value inscribed on each of them from 1 to N.
Chandu being from royal family has a treasure box. He emptied the box for the game to proceed.

The game rule involved following operations :
- Operation C : Chandu places a marble in the box. Each different marble can move inside the box only once.
- Operation K : Kundu removes last entered marble from the box and notes down it's value on a chart.

They were deciding further rules when a third person Mr. Chirp comes as a spoiler of the game. Chirp gives them a number N which is the maximum value inscribed among all marbles, and a sequence P. P can possibly be empty. In that case, in input an empty line would be there.

Also, he added following restriction :
- Kundu can perform operation K to take out a marble M only when all the marbles from values 1 to M-1 have went in the box before.

Mr. Chirp kept on chirping and told Chandu and Kundu to generate the sequence of C's and K's for the chart to get filled by pattern P.
Now, you have to help these kids before they jump out of their window in frustration.


SAMPLE INPUT
41
6 11 8


SAMPLE OUTPUT
CCCCCCKCCCCCKKKK
1 change: 1 addition & 0 deletions ASSIGNMENTS/First_Hundred_natural_no_cubic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Task : program to find out cube of first hundred natural no's(individually) in Python.
9 changes: 8 additions & 1 deletion ASSIGNMENTS/Hello world.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is a simple challenge to help you practice.
/*This is a simple challenge to help you practice.

Input Format

Expand All @@ -7,3 +7,10 @@ You do not need to read any input in this challenge.
Output Format

Print "Hello world".
*/
#include <stdio.h>
int main()
{
printf("Hello world");
return 0;
}
25 changes: 25 additions & 0 deletions ASSIGNMENTS/HelpKatekar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Sartaj's partner, Katekar is very loyal to his job and also to Sartaj. In his dedication towards his duty, he often neglects his wife who ends up alone and sad. Today, katekar has promised his wife to reach home early and spend time with her. However he and Sartaj are stuck with a problem which may decide the future of Mumbai. As Katekar cannot leave in such a situation, help him to solve the problem so that he can get back to his wife.

You are given an array A of length N. You need to detemine the largest subsequence B from the given array A such that for any index i and j in B if B[i]>B[j] then the frequency of B[i] is strictly greater than the frequency of B[j].

Input format :

First line : a single integer N denoting the length of given array.
Second line : N space seperated integers denoting the array elements.

Output fromat :

Print the length of largest subsequence B that can be formed.

Constraints :

1≤N≤1000
1≤A[i]≤1000000

Sample Input:-
5
1 2 2 3 3


Sample Output:-
3
Loading