This repository has been archived by the owner on May 31, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 520
/
programs.json
1811 lines (1811 loc) · 96.2 KB
/
programs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[
{
"title": "Add two matrices",
"description": "Write a program to add two matrices\n\nMatrix addition is the process of adding two matrices by adding the corresponding elements of the two matrices. Two matrices must have an equal number of rows and columns to be added.\n\n```\nInput :\n1 2 3\n4 5 6\n7 8 9\n\n1 2 3\n4 5 6\n7 8 9\n\nOutput :\n2 4 6\n8 10 12\n14 16 18\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-16T06:21:07.948Z",
"created": true
},
{
"title": "Calculate compound interest",
"description": "Write a program to calculate compound interest\n\nCompound interest = principal amount * (1 + rate of interest) ^ time\r\n\r\n```\r\nPrincipal : 1000\r\nRate : 10\r\nTime : 5\r\n\r\nCompound interest : 1610.51\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:24:58.172Z",
"createdIssueNumber": "268",
"publishedAt": "2022-10-03T23:28:20.512Z",
"created": true
},
{
"title": "Calculate simple interest",
"description": "Write a program to calculate simple interest\n\nSimple interest = principal amount * rate of interest * time\r\n\r\n```\r\nPrincipal : 1000\r\nRate : 10\r\nTime : 5\r\n\r\nSimple interest : 500\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:24:31.700Z",
"createdIssueNumber": "267",
"publishedAt": "2022-12-09T15:08:51.610Z",
"created": true
},
{
"title": "Calculate the combination of n objects taken r at a time",
"description": "Write a program to calculate the combination of n objects taken r at a time\n\nCombination is a selection of objects from a group such that (unlike permutations) the order of selection does not matter. The number of combinations on n objects taken r at a time is given by the formula n!/(r!(n-r)!) = n(n-1)(n-2)...(n-r+1)/r!\n\n```\nInput : 5, 2\nOutput : 10\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-09T22:16:27.458Z",
"created": true
},
{
"title": "Calculate the permutation of n objects taken r at a time",
"description": "Write a program to calculate the permutation of n objects taken r at a time\n\nPermutation is an arrangement of objects in a particular order. The number of permutations on n objects taken r at a time is given by the formula n!/(n-r)!\n\n```\nInput : 5, 2\nOutput : 20\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-14T20:13:47.956Z",
"created": true
},
{
"title": "Check Alphabet",
"description": "Write a program to check alphabet\n\nCheck that the given character is an alphabet or not (a-z, A-Z).\r\n\r\n```\r\nInput : a\r\nOutput : Alphabet\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:54:40.784Z",
"createdIssueNumber": "173",
"publishedAt": "2022-10-04T08:32:09.812Z",
"created": true
},
{
"title": "Check Armstrong Number",
"description": "Write a program to check armstrong number\n\nAn Armstrong number is a number that is equal to the sum of cubes of its digits.\r\n\r\n```\r\nInput : 153\r\nOutput : Armstrong Number\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:04:27.863Z",
"createdIssueNumber": "167",
"publishedAt": "2022-10-03T12:58:44.434Z",
"created": true
},
{
"title": "Check Consonant",
"description": "Write a program to check consonant\n\nCheck if a character is a consonant.\r\n\r\n```\r\nInput : b\r\nOutput : Consonant\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:53:29.025Z",
"createdIssueNumber": "172",
"publishedAt": "2022-10-03T05:48:33.715Z",
"created": true
},
{
"title": "Check Digit",
"description": "Write a program to check digit\n\nCheck wether given character is a digit (0-9).\r\n\r\n```\r\nInput : 1\r\nOutput : Digit\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:56:34.515Z",
"createdIssueNumber": "174",
"publishedAt": "2022-10-10T16:26:40.857Z",
"created": true
},
{
"title": "Check Even or Odd number",
"description": "Write a program to check even or odd number\n\n```\r\nInput : 3\r\nOutput : Odd Number\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:41:14.020Z",
"createdIssueNumber": "147",
"publishedAt": "2022-10-04T02:07:14.987Z",
"created": true
},
{
"title": "Check integer or float",
"description": "Write a program to check integer or float\n\n```\nInput : 1\nOutput : Integer\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-16T04:09:46.814Z",
"created": true
},
{
"title": "Check Leap Year",
"description": "Write a program to check leap year\n\nLeap years are years that are divisible by 4, but not by 100, unless they are also divisible by 400. For example, 1996 is a leap year, but 1900 is not. Write a function that takes a year as a parameter and returns True if the year is a leap year, False otherwise.\r\n\r\n```\r\nInput : 2016\r\nOutput : Leap Year\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:51:16.431Z",
"createdIssueNumber": "170",
"publishedAt": "2022-10-12T01:53:38.110Z",
"created": true
},
{
"title": "Check Lower Case",
"description": "Write a program to check lower case\n\nCheck if given character is lower case (a-z).\r\n\r\n```\r\nInput : a\r\nOutput : Lower Case\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T08:00:12.709Z",
"createdIssueNumber": "177",
"publishedAt": "2022-10-15T10:12:33.470Z",
"created": true
},
{
"title": "Check Palindrome Number",
"description": "Write a program to check palindrome number\n\nPalindrome numbers are the numbers for which reverse is exactly same as the original number. For example, 121 is palindrome, but 123 is not palindrome.\r\n\r\n```\r\nInput : 121\r\nOutput : Palindrome Number\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:47:13.719Z",
"createdIssueNumber": "168",
"publishedAt": "2022-10-05T05:50:47.599Z",
"created": true
},
{
"title": "Check Palindrome String",
"description": "Write a program to check palindrome string\n\nPalindrome string is a string that is same when read from left to right and right to left. For example, \"aba\" is a palindrome string, \"abc\" is not.\r\n\r\n```\r\nInput : abba\r\nOutput : Palindrome String\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:50:20.489Z",
"createdIssueNumber": "169",
"publishedAt": "2022-10-04T09:26:45.878Z",
"created": true
},
{
"title": "Check Pangram String",
"description": "Write a program to check pangram string\n\nA pangram is a sentence containing every letter in the English Alphabet.\r\n\r\n```\r\nInput : The quick brown fox jumps over the lazy dog\r\nOutput : Pangram sentence\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:01:22.249Z",
"createdIssueNumber": "165",
"publishedAt": "2022-10-03T14:05:36.568Z",
"created": true
},
{
"title": "Check Prime Number",
"description": "Write a program to check prime number\n\nA prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself.\r\n\r\n```\r\nInput : 5\r\nOutput : Prime Number\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:57:17.847Z",
"createdIssueNumber": "166",
"publishedAt": "2022-10-04T20:28:20.408Z",
"created": true
},
{
"title": "Check Special Character",
"description": "Write a program to check special character\n\nCheck if given character is a special character (not a letter or a number).\r\n\r\n```\r\nInput : @\r\nOutput : Special Character\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:57:38.136Z",
"createdIssueNumber": "175",
"publishedAt": "2022-10-10T18:27:07.913Z",
"created": true
},
{
"title": "Check Upper Case",
"description": "Write a program to check upper case\n\nCheck if the given character is upper case (A-Z).\r\n\r\n```\r\nInput : A\r\nOutput : Upper Case\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:59:25.711Z",
"createdIssueNumber": "176",
"publishedAt": "2022-10-03T08:37:40.538Z",
"created": true
},
{
"title": "Check valid Date",
"description": "Write a program to check valid date\n\nCheck if a given date is valid or not.\n\n```\nInput : 2019-02-29\nOutput : False\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-13T04:12:52.851Z",
"created": true
},
{
"title": "Check Vowel",
"description": "Write a program to check vowel\n\nVowel check is a simple program to check whether a character is a vowel or not.\r\n\r\n```\r\nInput : a\r\nOutput : Vowel\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T07:52:20.496Z",
"createdIssueNumber": "171",
"publishedAt": "2022-10-04T17:40:28.178Z",
"created": true
},
{
"title": "Convert a string to an integer",
"description": "Write a program to convert a string to an integer\n\n```\nInput : \"123\"\nOutput : 123\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-15T16:16:37.339Z",
"created": true
},
{
"title": "Convert a string to an integer (without using built-in functions)",
"description": "Write a program to convert a string to an integer (without using built-in functions)\n\n```\nInput : \"123\"\nOutput : 123\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-09T10:17:54.696Z",
"created": true
},
{
"title": "Convert binary to decimal",
"description": "Write a program to convert binary to decimal\n\nBinary is a base-2 number system. It uses only two digits: 0 and 1. The digits are called bits. A bit is the smallest unit of information in a computer. A bit can be either 0 or 1. A bit can be used to represent a single value, such as 0 or 1, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a binary number to decimal, we can use the following algorithm:\r\n\r\n1. Multiply the first bit by 2^0.\r\n2. Multiply the second bit by 2^1.\r\n3. Multiply the third bit by 2^2.\r\n4. Multiply the fourth bit by 2^3.\r\n5. Repeat steps 3 and 4 until the last bit.\r\n6. Add the results of all the multiplications.\r\n7. The decimal number is the sum of all the multiplications.\r\n\r\n```\r\nInput : 1010\r\nOutput : 10\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:25:39.755Z",
"createdIssueNumber": "219",
"publishedAt": "2022-10-05T04:01:13.806Z",
"created": true
},
{
"title": "Convert binary to hexadecimal",
"description": "Write a program to convert binary to hexadecimal\n\nBinary is a base-2 number system. It uses only two digits: 0 and 1. The digits are called bits. A bit is the smallest unit of information in a computer. A bit can be either 0 or 1. A bit can be used to represent a single value, such as 0 or 1, or it can be used to represent a single state, such as on or off.\r\n\r\nHexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The digits are called hexits. A hexit is the smallest unit of information in a computer. A hexit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, or F, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a binary number to hexadecimal, we can use the following algorithm:\r\n\r\n1. Convert the binary number to decimal.\r\n2. Convert the decimal number to hexadecimal.\r\n\r\n```\r\nInput : 1010\r\nOutput : A\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:32:58.049Z",
"createdIssueNumber": "223",
"publishedAt": "2022-10-02T21:25:07.670Z",
"created": true
},
{
"title": "Convert binary to octal",
"description": "Write a program to convert binary to octal\n\nBinary is a base-2 number system. It uses only two digits: 0 and 1. The digits are called bits. A bit is the smallest unit of information in a computer. A bit can be either 0 or 1. A bit can be used to represent a single value, such as 0 or 1, or it can be used to represent a single state, such as on or off.\r\n\r\nOctal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7. The digits are called octits. An octit is the smallest unit of information in a computer. An octit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, or 7, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a binary number to octal, we can use the following algorithm:\r\n\r\n1. Convert the binary number to decimal.\r\n2. Convert the decimal number to octal.\r\n\r\n```\r\nInput : 1010\r\nOutput : 12\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:31:54.519Z",
"createdIssueNumber": "222",
"publishedAt": "2022-10-02T03:37:53.852Z",
"created": true
},
{
"title": "Convert Celsius to Fahrenheit",
"description": "Write a program to convert celsius to fahrenheit\n\nfahrerheit = (celsius * 9/5) + 32\r\n\r\n```\r\nInput ( C ) : -40\r\nOutput ( F ) : -40\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:42:37.474Z",
"createdIssueNumber": "148",
"publishedAt": "2022-10-08T08:27:42.005Z",
"created": true
},
{
"title": "Convert centimeters to feet",
"description": "Write a program to convert centimeters to feet\n\n1 foot = 30.48 centimeters\r\n\r\n```\r\nInput : 152.4\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:13:05.844Z",
"createdIssueNumber": "255",
"publishedAt": "2022-10-09T01:39:43.562Z",
"created": true
},
{
"title": "Convert centimeters to inches",
"description": "Write a program to convert centimeters to inches\n\n1 inch = 2.54 centimeters\r\n\r\n```\r\nInput : 12.7\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:14:01.236Z",
"createdIssueNumber": "257",
"publishedAt": "2022-10-12T06:30:15.969Z",
"created": true
},
{
"title": "Convert days to hours",
"description": "Write a program to convert days to hours\n\n1 day = 24 hours\r\n\r\n```\r\nInput : 5\r\nOutput : 120\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:48:47.593Z",
"createdIssueNumber": "234",
"publishedAt": "2022-10-15T04:08:42.790Z",
"created": true
},
{
"title": "Convert days to minutes",
"description": "Write a program to convert days to minutes\n\n1 day = 24 hours = 1440 minutes\r\n\r\n```\r\nInput : 5\r\nOutput : 7200\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:50:00.377Z",
"createdIssueNumber": "236",
"publishedAt": "2022-10-04T04:10:58.951Z",
"created": true
},
{
"title": "Convert days to seconds",
"description": "Write a program to convert days to seconds\n\n1 day = 24 hours = 1440 minutes = 86400 seconds\r\n\r\n```\r\nInput : 5\r\nOutput : 432000\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:51:06.085Z",
"createdIssueNumber": "238",
"publishedAt": "2022-10-04T23:27:18.798Z",
"created": true
},
{
"title": "Convert days to weeks",
"description": "Write a program to convert days to weeks\n\n1 week = 7 days\r\n\r\n```\r\nInput : 35\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:53:04.305Z",
"createdIssueNumber": "241",
"publishedAt": "2022-10-15T14:13:35.254Z",
"created": true
},
{
"title": "Convert decimal to binary",
"description": "Write a program to convert decimal to binary\n\nBinary is a base-2 number system. It uses only two digits: 0 and 1. The digits are called bits. A bit is the smallest unit of information in a computer. A bit can be either 0 or 1. A bit can be used to represent a single value, such as 0 or 1, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a decimal number to binary, we can use the following algorithm:\r\n\r\n1. Divide the decimal number by 2.\r\n2. Write down the remainder.\r\n3. Divide the quotient by 2.\r\n4. Write down the remainder.\r\n5. Repeat steps 3 and 4 until the quotient is 0.\r\n6. The binary number is the sequence of remainders written in reverse order.\r\n\r\n```\r\nInput : 10\r\nOutput : 1010\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:21:36.552Z",
"createdIssueNumber": "216",
"publishedAt": "2022-10-13T14:21:25.366Z",
"created": true
},
{
"title": "Convert decimal to hexadecimal",
"description": "Write a program to convert decimal to hexadecimal\n\nHexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The digits are called hexits. A hexit is the smallest unit of information in a computer. A hexit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, or F, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a decimal number to hexadecimal, we can use the following algorithm:\r\n\r\n1. Divide the decimal number by 16.\r\n2. Write down the remainder.\r\n3. Divide the quotient by 16.\r\n4. Write down the remainder.\r\n5. Repeat steps 3 and 4 until the quotient is 0.\r\n6. The hexadecimal number is the sequence of remainders written in reverse order.\r\n\r\n```\r\nInput : 10\r\nOutput : A\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:24:25.635Z",
"createdIssueNumber": "218",
"publishedAt": "2022-10-13T18:21:56.949Z",
"created": true
},
{
"title": "Convert decimal to octal",
"description": "Write a program to convert decimal to octal\n\nOctal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7. The digits are called octits. An octit is the smallest unit of information in a computer. An octit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, or 7, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a decimal number to octal, we can use the following algorithm:\r\n\r\n1. Divide the decimal number by 8.\r\n2. Write down the remainder.\r\n3. Divide the quotient by 8.\r\n4. Write down the remainder.\r\n5. Repeat steps 3 and 4 until the quotient is 0.\r\n6. The octal number is the sequence of remainders written in reverse order.\r\n\r\n```\r\nInput : 10\r\nOutput : 12\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:23:20.593Z",
"createdIssueNumber": "217",
"publishedAt": "2022-10-02T23:31:41.425Z",
"created": true
},
{
"title": "Convert Fahrenheit to Celsius",
"description": "Write a program to convert fahrenheit to celsius\n\ncelcius = (fahrenheit - 32) * 5/9\r\n\r\n```\r\nInput ( F ) : -40\r\nOutput ( C ) : -40\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:43:28.759Z",
"createdIssueNumber": "149",
"publishedAt": "2022-12-09T05:14:20.446Z",
"created": true
},
{
"title": "convert fahrenheit to kelvin",
"description": "Write a program to convert fahrenheit to kelvin\n\n(1°F − 32) × 5/9 + 273.15 = 255.928K\r\n\r\n```\r\nInput : 1\r\nOutput : 255.928\r\n```\n",
"contributor": "KyleMcIndoe",
"createdAt": "2023-04-20T13:31:18.853Z",
"createdIssueNumber": "7328",
"publishedAt": "2023-04-20T13:32:47.635Z",
"created": true
},
{
"title": "Convert feet to centimeters",
"description": "Write a program to convert feet to centimeters\n\n1 foot = 30.48 centimeters\r\n\r\n```\r\nInput : 5\r\nOutput : 152.4\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:11:03.436Z",
"createdIssueNumber": "254",
"publishedAt": "2022-10-10T20:18:50.091Z",
"created": true
},
{
"title": "Convert feet to inches",
"description": "Write a program to convert feet to inches\n\n1 foot = 12 inches\r\n\r\n```\r\nInput : 5\r\nOutput : 60\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:10:06.097Z",
"createdIssueNumber": "252",
"publishedAt": "2022-12-10T06:11:22.943Z",
"created": true
},
{
"title": "Convert feet to miles",
"description": "Write a program to convert feet to miles\n\n1 mile = 5280 feet\r\n\r\n```\r\nInput : 26400\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:19:15.681Z",
"createdIssueNumber": "263",
"publishedAt": "2022-10-01T20:07:48.509Z",
"created": true
},
{
"title": "Convert hexadecimal to binary",
"description": "Write a program to convert hexadecimal to binary\n\nHexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The digits are called hexits. A hexit is the smallest unit of information in a computer. A hexit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, or F, or it can be used to represent a single state, such as on or off.\r\n\r\nBinary is a base-2 number system. It uses only two digits: 0 and 1. The digits are called bits. A bit is the smallest unit of information in a computer. A bit can be either 0 or 1. A bit can be used to represent a single value, such as 0 or 1, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a hexadecimal number to binary, we can use the following algorithm:\r\n\r\n1. Convert the hexadecimal number to decimal.\r\n2. Convert the decimal number to binary.\r\n\r\n```\r\nInput : A\r\nOutput : 1010\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:42:52.512Z",
"createdIssueNumber": "226",
"publishedAt": "",
"created": true
},
{
"title": "Convert hexadecimal to decimal",
"description": "Write a program to convert hexadecimal to decimal\n\nHexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The digits are called hexits. A hexit is the smallest unit of information in a computer. A hexit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, or F, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a hexadecimal number to decimal, we can use the following algorithm:\r\n\r\n1. Multiply the first hexit by 16^0.\r\n2. Multiply the second hexit by 16^1.\r\n3. Multiply the third hexit by 16^2.\r\n4. Multiply the fourth hexit by 16^3.\r\n5. Repeat steps 3 and 4 until the last hexit.\r\n6. Add the results of all the multiplications.\r\n7. The decimal number is the sum of all the multiplications.\r\n\r\n```\r\nInput : A\r\nOutput : 10\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:30:59.655Z",
"createdIssueNumber": "221",
"publishedAt": "2022-10-04T13:59:04.427Z",
"created": true
},
{
"title": "Convert hexadecimal to octal",
"description": "Write a program to convert hexadecimal to octal\n\nHexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The digits are called hexits. A hexit is the smallest unit of information in a computer. A hexit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, or F, or it can be used to represent a single state, such as on or off.\r\n\r\nOctal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7. The digits are called octits. An octit is the smallest unit of information in a computer. An octit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, or 7, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert a hexadecimal number to octal, we can use the following algorithm:\r\n\r\n1. Convert the hexadecimal number to decimal.\r\n2. Convert the decimal number to octal.\r\n\r\n```\r\nInput : A\r\nOutput : 12\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:43:34.797Z",
"createdIssueNumber": "227",
"publishedAt": "2022-10-04T05:45:05.014Z",
"created": true
},
{
"title": "Convert hours to days",
"description": "Write a program to convert hours to days\n\n1 day = 24 hours\r\n\r\n```\r\nInput : 120\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:49:20.094Z",
"createdIssueNumber": "235",
"publishedAt": "2022-10-09T20:17:44.875Z",
"created": true
},
{
"title": "Convert hours to minutes",
"description": "Write a program to convert hours to minutes\n\n1 hour = 60 minutes\r\n\r\n```\r\nInput : 5\r\nOutput : 300\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:46:09.363Z",
"createdIssueNumber": "230",
"publishedAt": "2022-10-16T14:13:38.554Z",
"created": true
},
{
"title": "Convert hours to seconds",
"description": "Write a program to convert hours to seconds\n\n1 hour = 60 minutes = 3600 seconds\r\n\r\n```\r\nInput : 5\r\nOutput : 18000\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:47:26.978Z",
"createdIssueNumber": "232",
"publishedAt": "2022-10-03T09:34:29.267Z",
"created": true
},
{
"title": "Convert hours to weeks",
"description": "Write a program to convert hours to weeks\n\n1 week = 7 days = 168 hours\r\n\r\n```\r\nInput : 840\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:58:26.022Z",
"createdIssueNumber": "243",
"publishedAt": "2022-10-04T11:20:05.512Z",
"created": true
},
{
"title": "Convert inches to centimeters",
"description": "Write a program to convert inches to centimeters\n\n1 inch = 2.54 centimeters\r\n\r\n```\r\nInput : 5\r\nOutput : 12.7\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:13:28.248Z",
"createdIssueNumber": "256",
"publishedAt": "2022-10-02T10:07:34.840Z",
"created": true
},
{
"title": "Convert inches to feet",
"description": "Write a program to convert inches to feet\n\n1 foot = 12 inches\r\n\r\n```\r\nInput : 60\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:10:25.408Z",
"createdIssueNumber": "253",
"publishedAt": "2022-12-10T07:08:03.560Z",
"created": true
},
{
"title": "Convert inches to miles",
"description": "Write a program to convert inches to miles\n\n1 mile = 63360 inches\r\n\r\n```\r\nInput : 316800\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:20:30.861Z",
"createdIssueNumber": "265",
"publishedAt": "2022-10-03T10:32:04.787Z",
"created": true
},
{
"title": "Convert kilometers to miles",
"description": "Write a program to convert kilometers to miles\n\n1 mile = 1.609 kilometers\r\n\r\n```\r\nInput : 8.04672\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:16:22.848Z",
"createdIssueNumber": "259",
"publishedAt": "2022-10-14T06:43:24.975Z",
"created": true
},
{
"title": "Convert meters to miles",
"description": "Write a program to convert meters to miles\n\n1 mile = 1609 meters\r\n\r\n```\r\nInput : 8046.72\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:17:43.243Z",
"createdIssueNumber": "261",
"publishedAt": "2022-09-29T13:39:48.821Z",
"created": true
},
{
"title": "Convert miles to feet",
"description": "Write a program to convert miles to feet\n\n1 mile = 5280 feet\r\n\r\n```\r\nInput : 5\r\nOutput : 26400\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:18:20.323Z",
"createdIssueNumber": "262",
"publishedAt": "2022-10-01T18:09:00.881Z",
"created": true
},
{
"title": "Convert miles to inches",
"description": "Write a program to convert miles to inches\n\n1 mile = 63360 inches\r\n\r\n```\r\nInput : 5\r\nOutput : 316800\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:19:55.114Z",
"createdIssueNumber": "264",
"publishedAt": "2022-10-11T06:40:24.452Z",
"created": true
},
{
"title": "Convert miles to kilometers",
"description": "Write a program to convert miles to kilometers\n\n1 mile = 1.609 kilometers\r\n\r\n```\r\nInput : 5\r\nOutput : 8.04672\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:15:52.112Z",
"createdIssueNumber": "258",
"publishedAt": "2022-10-03T07:34:39.558Z",
"created": true
},
{
"title": "Convert miles to meters",
"description": "Write a program to convert miles to meters\n\n1 mile = 1609 meters\r\n\r\n```\r\nInput : 5\r\nOutput : 8046.72\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:16:54.513Z",
"createdIssueNumber": "260",
"publishedAt": "2022-10-13T10:14:36.917Z",
"created": true
},
{
"title": "Convert minutes to days",
"description": "Write a program to convert minutes to days\n\n1 day = 24 hours = 1440 minutes\r\n\r\n```\r\nInput : 7200\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:50:29.602Z",
"createdIssueNumber": "237",
"publishedAt": "2022-10-15T08:16:47.047Z",
"created": true
},
{
"title": "Convert minutes to hours",
"description": "Write a program to convert minutes to hours\n\n1 hour = 60 minutes\r\n\r\n```\r\nInput : 300\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:46:46.750Z",
"createdIssueNumber": "231",
"publishedAt": "2022-10-12T12:35:07.130Z",
"created": true
},
{
"title": "Convert minutes to seconds",
"description": "Write a program to convert minutes to seconds\n\n1 minute = 60 seconds\r\n\r\n```\r\nInput : 5\r\nOutput : 300\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:44:45.276Z",
"createdIssueNumber": "228",
"publishedAt": "2022-10-04T22:24:13.976Z",
"created": true
},
{
"title": "Convert minutes to weeks",
"description": "Write a program to convert minutes to weeks\n\n1 week = 7 days = 168 hours = 10080 minutes\r\n\r\n```\r\nInput : 50400\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:04:41.859Z",
"createdIssueNumber": "245",
"publishedAt": "2022-10-03T02:18:42.908Z",
"created": true
},
{
"title": "Convert octal to binary",
"description": "Write a program to convert octal to binary\n\nOctal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7. The digits are called octits. An octit is the smallest unit of information in a computer. An octit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, or 7, or it can be used to represent a single state, such as on or off.\r\n\r\nBinary is a base-2 number system. It uses only two digits: 0 and 1. The digits are called bits. A bit is the smallest unit of information in a computer. A bit can be either 0 or 1. A bit can be used to represent a single value, such as 0 or 1, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert an octal number to binary, we can use the following algorithm:\r\n\r\n1. Convert the octal number to decimal.\r\n2. Convert the decimal number to binary.\r\n\r\n```\r\nInput : 12\r\nOutput : 1010\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:34:08.570Z",
"createdIssueNumber": "224",
"publishedAt": "2022-10-16T01:17:00.243Z",
"created": true
},
{
"title": "Convert octal to decimal",
"description": "Write a program to convert octal to decimal\n\nOctal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7. The digits are called octits. An octit is the smallest unit of information in a computer. An octit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, or 7, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert an octal number to decimal, we can use the following algorithm:\r\n\r\n1. Multiply the first octit by 8^0.\r\n2. Multiply the second octit by 8^1.\r\n3. Multiply the third octit by 8^2.\r\n4. Multiply the fourth octit by 8^3.\r\n5. Repeat steps 3 and 4 until the last octit.\r\n6. Add the results of all the multiplications.\r\n7. The decimal number is the sum of all the multiplications.\r\n\r\n```\r\nInput : 12\r\nOutput : 10\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:27:33.532Z",
"createdIssueNumber": "220",
"publishedAt": "",
"created": true
},
{
"title": "Convert octal to hexadecimal",
"description": "Write a program to convert octal to hexadecimal\n\nOctal is a base-8 number system. It uses only eight digits: 0, 1, 2, 3, 4, 5, 6, and 7. The digits are called octits. An octit is the smallest unit of information in a computer. An octit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, or 7, or it can be used to represent a single state, such as on or off.\r\n\r\nHexadecimal is a base-16 number system. It uses sixteen digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The digits are called hexits. A hexit is the smallest unit of information in a computer. A hexit can be used to represent a single value, such as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, or F, or it can be used to represent a single state, such as on or off.\r\n\r\nTo convert an octal number to hexadecimal, we can use the following algorithm:\r\n\r\n1. Convert the octal number to decimal.\r\n2. Convert the decimal number to hexadecimal.\r\n\r\n```\r\nInput : 12\r\nOutput : A\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:34:55.558Z",
"createdIssueNumber": "225",
"publishedAt": "2022-10-01T23:08:07.799Z",
"created": true
},
{
"title": "Convert Paise to Rupees",
"description": "Write a program to convert paise to rupees\n\n```\r\nInput ( Ps ) : 100\r\nOutput ( Rs ) : 1\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:46:03.074Z",
"createdIssueNumber": "152",
"publishedAt": "2022-10-02T16:09:44.376Z",
"created": true
},
{
"title": "convert pound to kilogram",
"description": "Write a program to convert pound to kilogram\n\n1 pound = 0.453592 kg\r\n\r\n```\r\nInput : 1\r\nOutput : 0.453592\r\n```\n",
"contributor": "Aranarora",
"createdAt": "2023-03-24T07:09:34.900Z",
"createdIssueNumber": "6863",
"publishedAt": "2023-03-24T07:11:16.361Z",
"created": true
},
{
"title": "Convert Rupees to Paise",
"description": "Write a program to convert rupees to paise\n\n```\r\nInput ( Rs ) : 1\r\nOutput ( Ps ) : 100\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:45:26.153Z",
"createdIssueNumber": "151",
"publishedAt": "2022-12-09T12:16:17.867Z",
"created": true
},
{
"title": "Convert seconds to days",
"description": "Write a program to convert seconds to days\n\n1 day = 24 hours = 1440 minutes = 86400 seconds\r\n\r\n```\r\nInput : 432000\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:51:47.443Z",
"createdIssueNumber": "239",
"publishedAt": "2022-10-12T22:17:13.026Z",
"created": true
},
{
"title": "Convert seconds to hours",
"description": "Write a program to convert seconds to hours\n\n1 hour = 60 minutes = 3600 seconds\r\n\r\n```\r\nInput : 18000\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:48:14.802Z",
"createdIssueNumber": "233",
"publishedAt": "2022-10-13T06:37:25.264Z",
"created": true
},
{
"title": "Convert seconds to minutes",
"description": "Write a program to convert seconds to minutes\n\n1 minute = 60 seconds\r\n\r\n```\r\nInput : 300\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:45:20.619Z",
"createdIssueNumber": "229",
"publishedAt": "2022-10-01T19:08:15.032Z",
"created": true
},
{
"title": "Convert seconds to weeks",
"description": "Write a program to convert seconds to weeks\n\n1 week = 7 days = 168 hours = 10080 minutes = 604800 seconds\r\n\r\n```\r\nInput : 3024000\r\nOutput : 5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:06:03.951Z",
"createdIssueNumber": "247",
"publishedAt": "2022-10-12T20:19:23.328Z",
"created": true
},
{
"title": "Convert string to alternatingcase",
"description": "Write a program to convert string to alternatingcase\n\nAlternatingcase is a style of writing in which each letter is converted to its opposite case.\n\n```\nInput : \"hello world\"\nOutput : \"hElLo WoRlD\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-12-09T16:12:12.945Z",
"created": true
},
{
"title": "Convert string to camelcase",
"description": "Write a program to convert string to camelcase\n\nCamelcase is a style of writing in which the first letter of each word is capitalized except the first word.\n\n```\nInput : \"hello world\"\nOutput : \"helloWorld\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-11T16:27:14.908Z",
"created": true
},
{
"title": "Convert string to consonantcase",
"description": "Write a program to convert string to consonantcase\n\nConsonantcase is a style of writing in which all consonants are converted to uppercase and all vowels are converted to lowercase.\n\n```\nInput : \"hello world\"\nOutput : \"HELlo WORLD\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-12-09T08:11:55.976Z",
"created": true
},
{
"title": "Convert string to constantcase",
"description": "Write a program to convert string to constantcase\n\nConstantcase is a style of writing in which all letters are uppercase and spaces are replaced with underscores.\n\n```\nInput : \"hello world\"\nOutput : \"HELLO_WORLD\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-14T01:20:15.145Z",
"created": true
},
{
"title": "Convert string to dotcase",
"description": "Write a program to convert string to dotcase\n\nDotcase is a style of writing in which all letters are lowercase and spaces are replaced with periods.\n\n```\nInput : \"hello world\"\nOutput : \"hello.world\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-09T06:24:06.387Z",
"created": true
},
{
"title": "Convert string to kebabcase",
"description": "Write a program to convert string to kebabcase\n\nKebabcase is a style of writing in which all letters are lowercase and spaces are replaced with hyphens.\n\n```\nInput : \"hello world\"\nOutput : \"hello-world\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-09T08:20:58.754Z",
"created": true
},
{
"title": "Convert string to lowercase",
"description": "Write a program to convert string to lowercase\n\n```\nInput : \"Hello World\"\nOutput : \"hello world\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-10T01:45:56.068Z",
"created": true
},
{
"title": "Convert string to pascalcase",
"description": "Write a program to convert string to pascalcase\n\nPascalcase is a style of writing in which the first letter of each word is capitalized.\n\n```\nInput : \"hello world\"\nOutput : \"HelloWorld\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-14T12:26:59.358Z",
"created": true
},
{
"title": "Convert string to pathcase",
"description": "Write a program to convert string to pathcase\n\nPathcase is a style of writing in which all letters are lowercase and spaces are replaced with forward slashes.\n\n```\nInput : \"hello world\"\nOutput : \"hello/world\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-10T06:44:11.800Z",
"created": true
},
{
"title": "Convert string to reversecase",
"description": "Write a program to convert string to reversecase\n\nReversecase is a style of writing in which all lowercase letters are converted to uppercase and all uppercase letters are converted to lowercase.\n\n```\nInput : \"hello world\"\nOutput : \"HELLO WORLD\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-12-09T09:09:04.669Z",
"created": true
},
{
"title": "Convert string to sentencecase",
"description": "Write a program to convert string to sentencecase\n\nSentencecase is a style of writing in which the first letter of the first word is capitalized.\n\n```\nInput : \"hello world\"\nOutput : \"Hello world\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-12-09T05:23:33.885Z",
"created": true
},
{
"title": "Convert string to snakecase",
"description": "Write a program to convert string to snakecase\n\nSnakecase is a style of writing in which all letters are lowercase and spaces are replaced with underscores.\n\n```\nInput : \"hello world\"\nOutput : \"hello_world\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-11T08:25:54.405Z",
"created": true
},
{
"title": "Convert string to titlecase",
"description": "Write a program to convert string to titlecase\n\nTitlecase is a style of writing in which the first letter of each word is capitalized.\n\n```\nInput : \"hello world\"\nOutput : \"Hello World\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-09T12:30:43.600Z",
"created": true
},
{
"title": "Convert string to uppercase",
"description": "Write a program to convert string to uppercase\n\n```\nInput : \"Hello World\"\nOutput : \"HELLO WORLD\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-12T14:34:59.559Z",
"created": true
},
{
"title": "Convert string to vowelcase",
"description": "Write a program to convert string to vowelcase\n\nVowelcase is a style of writing in which all vowels are converted to uppercase and all consonants are converted to lowercase.\n\n```\nInput : \"hello world\"\nOutput : \"heLLO worLd\"\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-12-09T04:02:11.615Z",
"created": true
},
{
"title": "Convert time from 12-hour to 24-hour format",
"description": "Write a program to convert time from 12-hour to 24-hour format\n\n```\nInput : 12:05:45PM\nOutput : 12:05:45\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-13T12:25:49.639Z",
"created": true
},
{
"title": "Convert time from 24-hour to 12-hour format",
"description": "Write a program to convert time from 24-hour to 12-hour format\n\n```\nInput : 12:05:45\nOutput : 12:05:45PM\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-15T06:24:02.466Z",
"created": true
},
{
"title": "Convert weeks to days",
"description": "Write a program to convert weeks to days\n\n1 week = 7 days\r\n\r\n```\r\nInput : 5\r\nOutput : 35\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:52:24.104Z",
"createdIssueNumber": "240",
"publishedAt": "2022-12-10T02:09:55.769Z",
"created": true
},
{
"title": "Convert weeks to hours",
"description": "Write a program to convert weeks to hours\n\n1 week = 7 days = 168 hours\r\n\r\n```\r\nInput : 5\r\nOutput : 840\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T12:57:54.488Z",
"createdIssueNumber": "242",
"publishedAt": "2022-10-04T06:35:48.498Z",
"created": true
},
{
"title": "Convert weeks to minutes",
"description": "Write a program to convert weeks to minutes\n\n1 week = 7 days = 168 hours = 10080 minutes\r\n\r\n```\r\nInput : 5\r\nOutput : 50400\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:04:06.696Z",
"createdIssueNumber": "244",
"publishedAt": "2022-10-03T06:45:46.716Z",
"created": true
},
{
"title": "Convert weeks to seconds",
"description": "Write a program to convert weeks to seconds\n\n1 week = 7 days = 168 hours = 10080 minutes = 604800 seconds\r\n\r\n```\r\nInput : 5\r\nOutput : 3024000\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:05:15.975Z",
"createdIssueNumber": "246",
"publishedAt": "2022-10-11T01:27:02.839Z",
"created": true
},
{
"title": "Cylindrically rotate a matrix by 90 degrees",
"description": "Write a program to cylindrically rotate a matrix by 90 degrees\n\n```\nInput :\n1 2 3\n4 5 6\n7 8 9\n\nOutput :\n7 4 1\n8 5 2\n9 6 3\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-12-09T22:08:41.275Z",
"created": true
},
{
"title": "Divide two numbers",
"description": "Write a program to divide two numbers\n\n```\r\nInput : 2 4\r\nOutput : 0.5\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-28T03:32:54.411Z",
"createdIssueNumber": "83",
"publishedAt": "2022-09-28T09:30:59.258Z",
"created": true
},
{
"title": "Find area of a circle",
"description": "Write a program to find area of a circle\n\nArea of circle = π × `Radius`^2\r\n\r\n```\r\nRadius : 2\r\n\r\nArea : 12.566370614359172\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:51:14.286Z",
"createdIssueNumber": "157",
"publishedAt": "2022-10-02T12:13:42.379Z",
"created": true
},
{
"title": "Find area of a cube",
"description": "Write a program to find area of a cube\n\nArea of cube = 6 × `Side`^2\r\n\r\n```\r\nSide : 2\r\n\r\nArea : 24\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:52:29.859Z",
"createdIssueNumber": "159",
"publishedAt": "2022-10-11T18:23:20.340Z",
"created": true
},
{
"title": "Find area of a cuboid",
"description": "Write a program to find area of a cuboid\n\nArea of cuboid = 2 × (`Length` × `Width` + `Length` × `Height` + `Width` × `Height`)\r\n\r\n```\r\nLength : 2\r\nWidth : 3\r\nHeight : 4\r\n\r\nArea : 52\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:52:55.954Z",
"createdIssueNumber": "160",
"publishedAt": "2022-10-09T16:22:49.654Z",
"created": true
},
{
"title": "Find area of a rectangle",
"description": "Write a program to find area of a rectangle\n\nArea of rectangle = `Length` × `Width`\r\n\r\n```\r\nLength : 2\r\nWidth : 3\r\n\r\nArea : 6\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:48:21.795Z",
"createdIssueNumber": "155",
"publishedAt": "2022-10-09T04:27:54.678Z",
"created": true
},
{
"title": "Find area of a right angled triangle",
"description": "Write a program to find area of a right angled triangle\n\nArea of right angled triangle = 0.5 × `Base` × `Height`\r\n\r\n```\r\nBase : 2\r\nHeight : 3\r\n\r\nArea : 3\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:50:41.454Z",
"createdIssueNumber": "156",
"publishedAt": "2022-10-02T14:08:30.183Z",
"created": true
},
{
"title": "Find area of a square",
"description": "Write a program to find area of a square\n\nArea of square = `Side`^2\r\n\r\n```\r\nSide : 2\r\n\r\nArea : 4\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:51:53.695Z",
"createdIssueNumber": "158",
"publishedAt": "2022-10-01T22:07:07.006Z",
"created": true
},
{
"title": "Find average of digits of a number",
"description": "Write a program to find average of digits of a number\n\nAverage of digits of a number is the sum of all digits divided by the number of digits.\r\n\r\n```\r\nInput : 123\r\nOutput : 2\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T08:03:24.306Z",
"createdIssueNumber": "180",
"publishedAt": "2022-10-11T20:20:03.995Z",
"created": true
},
{
"title": "Find average of digits of a number by recursion",
"description": "Write a program to find average of digits of a number by recursion\n\nAverage of digits of a number is the sum of digits of the number divided by the number of digits in the number. For example, the average of digits of 123 is 6. The sum of digits of 123 is 6 and the number of digits in 123 is 3. So, the average of digits of 123 is 6/3 = 2.\r\n\r\n```\r\nInput : 123\r\nOutput : 2\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T08:04:51.344Z",
"createdIssueNumber": "181",
"publishedAt": "2022-12-09T18:11:13.874Z",
"created": true
},
{
"title": "Find average of numbers",
"description": "Write a program to find average of numbers\n\nAverage of numbers is the sum of all numbers divided by the number of numbers.\r\n\r\n```\r\nInput : 1 2 3 4 5\r\nOutput : 3\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T08:21:00.873Z",
"createdIssueNumber": "193",
"publishedAt": "2022-10-04T21:21:26.773Z",
"created": true
},
{
"title": "Find average of numbers by recursion",
"description": "Write a program to find average of numbers by recursion\n\nAverage of numbers is the sum of all numbers divided by the number of numbers. For example, the average of 1, 2, 3, 4, 5 is 3. The average of 1, 2, 3, 4, 5, 6 is 3.5.\r\n\r\nAverage of numbers can be calculated by recursion. The average of numbers is the sum of the first number and the average of the rest of the numbers. The average of the rest of the numbers is the sum of the second number and the average of the rest of the numbers. The average of the rest of the numbers is the sum of the third number and the average of the rest of the numbers. And so on.\r\n\r\n```\r\nInput : 1 2 3 4 5\r\nOutput : 3\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T08:22:24.149Z",
"createdIssueNumber": "194",
"publishedAt": "2022-10-16T12:22:51.709Z",
"created": true
},
{
"title": "Find Cube of a number",
"description": "Write a program to find cube of a number\n\n```\r\nInput : 2\r\nOutput : 8\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-27T21:43:39.842Z",
"createdIssueNumber": "41",
"publishedAt": "2022-09-28T09:35:46.495Z",
"created": true
},
{
"title": "Find cube root of a number",
"description": "Write a program to find cube root of a number\n\n```\nInput : 27\nOutput : 3\n```",
"contributor": "harshraj8843",
"createdAt": "2022-10-07T18:46:27.887768Z",
"createdIssueNumber": "0",
"publishedAt": "2022-10-14T22:12:13.077Z",
"created": true
},
{
"title": "Find Digital Root of a number",
"description": "Write a program to find digital root of a number\n\nDigital root of a number is the recursive sum of its digits until we get a single digit number.\r\n\r\n```\r\nInput : 1234\r\nOutput : 1\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T13:22:50.941Z",
"createdIssueNumber": "266",
"publishedAt": "2022-10-11T04:09:19.551Z",
"created": true
},
{
"title": "Find factorial of a number",
"description": "Write a program to find factorial of a number\n\nFactorial of N = N *(N-1)* (N-2) *...* 1\r\n\r\n```\r\nInput : 5\r\nOutput : 120\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T06:40:07.478Z",
"createdIssueNumber": "146",
"publishedAt": "2022-10-11T14:29:15.817Z",
"created": true
},
{
"title": "Find factorial of a number by recursion",
"description": "Write a program to find factorial of a number by recursion\n\nFactorial of a number is the product of all the numbers from 1 to that number. For example, factorial of 5 is 5\\*4\\*3\\*2\\*1 = 120.\r\n\r\n```\r\nInput : 5\r\nOutput : 120\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T11:36:37.409Z",
"createdIssueNumber": "196",
"publishedAt": "2022-10-02T15:07:26.925Z",
"created": true
},
{
"title": "Find GCD of two numbers",
"description": "Write a program to find gcd of two numbers\n\nGCD (Greatest Common Divisor) of two numbers is the largest number that divides both of them. A simple way to find GCD is to factorize both numbers and multiply common factors.\r\n\r\n```\r\nInput : 12 18\r\nOutput : 6\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T08:13:29.945Z",
"createdIssueNumber": "186",
"publishedAt": "2022-10-10T12:37:57.479Z",
"created": true
},
{
"title": "Find GCD of two numbers by recursion",
"description": "Write a program to find gcd of two numbers by recursion\n\nGCD (Greatest Common Divisor) of two numbers is the largest number that divides both of them. A simple way to find GCD is to factorize both numbers and multiply common factors.\r\n\r\n```\r\nInput : 12 18\r\nOutput : 6\r\n```\n",
"contributor": "harshraj8843",
"createdAt": "2022-09-29T08:15:35.450Z",
"createdIssueNumber": "188",
"publishedAt": "2022-12-09T10:09:45.404Z",
"created": true
},