Skip to content

Instantly share code, notes, and snippets.

View sarveshrulz's full-sized avatar

sarvesh kardekar sarveshrulz

View GitHub Profile
@sarveshrulz
sarveshrulz / CircularQueue.js
Created December 27, 2022 18:18
Circular queue by using linked list in JavaScript.
class Node {
constructor(val) {
this.data = val;
this.next = null;
}
}
class CircularQueue {
constructor() {
this.front = null;
this.enqueue = (val) => {
class Node {
constructor(val) {
this.prev = null;
this.next = null;
this.value = val;
}
}
class Dll {
constructor() {
this.head = null;
@sarveshrulz
sarveshrulz / menu.rasi
Last active December 24, 2020 14:20
rofi theme
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
/*
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software