Skip to content

Instantly share code, notes, and snippets.

@mitesh9991
mitesh9991 / The Technical Interview Cheat Sheet.md
Created May 1, 2023 06:07 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@mitesh9991
mitesh9991 / index.html
Created November 30, 2022 05:11
Slick carousel example
<div class="wrapper">
<h2>Slick Carousel Example<h2>
<div class="carousel">
<div><img src="https://picsum.photos/300/200?random=1"></div>
<div><img src="https://picsum.photos/300/200?random=2"></div>
<div><img src="https://picsum.photos/300/200?random=3"></div>
<div><img src="https://picsum.photos/300/200?random=4"></div>
<div><img src="https://picsum.photos/300/200?random=5"></div>
<div><img src="https://picsum.photos/300/200?random=6"></div>
</div>
@mitesh9991
mitesh9991 / filterArray.js
Created June 12, 2021 05:29 — forked from jherax/arrayFilterFactory.1.ts
Filters an array of objects with multiple match-criteria.
/**
* Filters an array of objects using custom predicates.
*
* @param {Array} array: the array to filter
* @param {Object} filters: an object with the filter criteria
* @return {Array}
*/
function filterArray(array, filters) {
const filterKeys = Object.keys(filters);
return array.filter(item => {
@mitesh9991
mitesh9991 / compareArrays.js
Created June 12, 2021 05:26 — forked from MariaSzubski/compareArrays.js
Compare each value between two arrays. #hackerrank #warmup
/*
Solution for HackerRank > Algorithms > Warmup > Compare the Triplets
https://www.hackerrank.com/challenges/compare-the-triplets
*/
function main() {
var A = [5,6,7];
var B = [3,6,10];
// Set counters to '0'