Skip to content

Instantly share code, notes, and snippets.

View MohamedGamil's full-sized avatar

Mohamed Gamil MohamedGamil

View GitHub Profile
@MohamedGamil
MohamedGamil / hackerrank--12-to-24-format.js
Last active April 17, 2022 06:04
HackerRank / Time Conversion
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
@MohamedGamil
MohamedGamil / hackerrank--birthday-cake-candles.js
Created April 17, 2022 06:05
HackerRank / Birthday Cake Candles
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
@MohamedGamil
MohamedGamil / hackerrank--mini-max-sum.js
Created April 17, 2022 06:10
HackerRank / Mini-Max Sum
'use strict';
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
process.stdin.on('data', function(inputStdin) {
inputString += inputStdin;
@MohamedGamil
MohamedGamil / hackerrank--staircase.js
Created April 17, 2022 06:11
HackerRank / Staircase
'use strict';
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
process.stdin.on('data', function(inputStdin) {
inputString += inputStdin;
@MohamedGamil
MohamedGamil / hackerrank--plus-minus.js
Last active April 17, 2022 06:13
HackerRank / Plus Minus
'use strict';
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
process.stdin.on('data', function(inputStdin) {
inputString += inputStdin;
@MohamedGamil
MohamedGamil / hackerrank--diagonal-difference.js
Created April 17, 2022 06:15
HackerRank / Diagonal Difference
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
@MohamedGamil
MohamedGamil / hackerrank--big-sum.js
Created April 17, 2022 06:16
HackerRank / A Very Big Sum
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
@MohamedGamil
MohamedGamil / hackerrank--compare-the-triplets.js
Created April 17, 2022 06:17
HackerRank / Compare the Triplets
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
@MohamedGamil
MohamedGamil / hackerrank--simple-array-sumjs
Created April 17, 2022 06:19
HackerRank / Simple Array Sum
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
@MohamedGamil
MohamedGamil / hackerrank--grading-students.js
Created April 17, 2022 06:43
HackerRank / Grading Students
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;