Skip to content

Instantly share code, notes, and snippets.

View Gokhan-Unal's full-sized avatar
🎯
Always Learning

Gökhan Ünal Gokhan-Unal

🎯
Always Learning
  • İzmir
View GitHub Profile
@Gokhan-Unal
Gokhan-Unal / hoisting.js
Created September 27, 2022 20:13
Hoisting
console.log(a)
var a = "JavaScript"
@Gokhan-Unal
Gokhan-Unal / grokking_to_leetcode.md
Created June 4, 2022 15:07 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@Gokhan-Unal
Gokhan-Unal / mixin.css
Last active February 24, 2022 05:58
CSS Some Mixins
/* Mixin for media queries */
@mixin screenSize($size) {
@if ($size == 'xxlarge') {
@media screen and (max-width: 1480px) {
@content;
}
}
@if ($size == 'xlarge') {
@Gokhan-Unal
Gokhan-Unal / reset.css
Created February 2, 2022 11:04
CSS Reset
/*
1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
box-sizing: border-box;
}
/*
2. Remove default margin
*/
* {
@Gokhan-Unal
Gokhan-Unal / number.js
Created January 1, 2022 16:00
string numbers array to real numbers with map trick
const numbers = ["15", "23"]
const realnumbers = numbers.map(parseFloat)