Coding Test
Before you start writing any code, discuss the implementation with the interviewers.
Objective: Assess how you work on a problem.
Advice: Take your time and work in a way consistent with your day to day job
Maintainers: | |
alyssais: linuxKernel.packages.linux_5_10.kernel, linuxKernel.kernels.linux_latest_libre, linuxKernel.packages.linux_latest_libre.kernel, linuxKernel.packages.linux_5_10.kernel, linuxKernel.packages.linux_5_4.kernel, linuxKernel.kernels.linux_4_9, linuxKernel.packages.linux_4_19.kernel, linuxKernel.packages.linux_4_14.kernel, linuxPackages_latest-libre.kernel, linuxKernel.kernels.linux_4_14, linuxPackages_latest.kernel, linuxKernel.kernels.linux_5_4, linuxKernel.kernels.linux_4_14, linuxKernel.packages.linux_5_10.kernel, linuxPackages_latest.kernel, linux_latest, linux_latest, linuxKernel.packages.linux_5_15.kernel, linuxKernel.packages.linux_4_19.kernel, linux_latest, linuxKernel.kernels.linux_libre, linuxKernel.packages.linux_latest_libre.kernel, linuxKernel.packages.linux_libre.kernel, linux-libre, linuxKernel.kernels.linux_testing, linuxKernel.kernels.linux_5_18, linuxKernel.kernels.linux_5_18, linux, linuxKernel.packages.linux_5_18.kernel, linuxKernel.packages.linux_4_9.kernel, linuxKernel.k |
x86_64-linux linuxPackages.rtl8821cu | |
i686-linux linuxPackages_latest-libre.system76-io | |
x86_64-linux linuxKernel.packages.linux_latest_libre.tp_smapi | |
x86_64-linux linuxKernel.packages.linux_testing_bcachefs.kvdo | |
x86_64-linux linuxKernel.packages.linux_testing_bcachefs.digimend | |
x86_64-linux linuxKernel.packages.linux_5_4.it87 | |
i686-linux linuxPackages-libre.rtl8821ce | |
x86_64-linux linuxKernel.packages.linux_4_14.v4l2loopback | |
aarch64-linux linuxPackages_latest.mba6x_bl | |
i686-linux linuxKernel.packages.linux_latest_libre.akvcam |
import tkinter as tk | |
from tkinter.scrolledtext import ScrolledText | |
import io, hashlib, queue, sys, time, threading, traceback | |
import code | |
class Pipe: | |
"""mock stdin stdout or stderr""" |
# https://unix.stackexchange.com/questions/334382/find-out-what-scripts-are-being-run-by-bash-at-login | |
# prepends the given path(s) to the supplied PATH variable | |
# ex. add_to_path 'PATH' "$(go env GOPATH)/bin" | |
function add_to_path() { | |
# (P)1 path is expanded from $1 | |
# ##: Removes leading : | |
local -x pth="${(P)1##:}" | |
# (s.:.) splits the given variable at : |
let billion = 1_000_000_000; | |
console.log(billion) // 1000000000 |
import Zoom from ‘react-reveal/zoom ‘ ; | |
function Example () { | |
return ( | |
<div> | |
<Zoom right> | |
<p>Hello World</p> | |
</Zoom> | |
</div> | |
) |
const json5 = require('json5'); | |
const fs = require('fs'); | |
const getRigDeps = ()=>{ | |
let rigConfig = json5.parse(fs.readFileSync('./package.rig.json5')); | |
return Object.keys(rigConfig.dependencies); | |
} | |
module.exports = { | |
getPkgs:getRigDeps, | |
getRigDeps | |
} |
import { createSignal, createResource } from "solid-js"; | |
import { createMutable } from "solid-js/store"; | |
export const list = createMutable({ | |
items: JSON.parse( | |
window.localStorage.getItem("cart") ?? "[]" | |
), | |
get count() { | |
return this.items.length; | |
}, |
Before you start writing any code, discuss the implementation with the interviewers.
Objective: Assess how you work on a problem.
Advice: Take your time and work in a way consistent with your day to day job