frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A software engineering interview question I like: computing the median

https://krisshamloo.com/blog/007
16•speckx•58m ago

Comments

apricot•17m ago
In addition to the points listed, it gives the algorithm nerds the opportunity to show their overqualification by whipping out the O(n) median algorithm and proving that it works in linear time.
salamanderman•12m ago
I almost tanked an interview, and luckily turned it around, when the interviewer had never heard of QuickSelect and thought I was insane when I started writing it.
joshdavham•15m ago
I also like this question.

A fun follow up is asking a candidate how to compute the 25th and 75th percentiles or more broadly, the n-th percentile.

ukoki•13m ago
Only the median (or pair around the median) needs to be sorted, the other numbers can be unsorted :)
wewewedxfgdf•10m ago
Great question! Assuming the job requires calculating a lot of medians.
jagged-chisel•7m ago
> High-quality candidates …

Oh, you … ;-)

floxy•6m ago
https://en.wikipedia.org/wiki/Floyd%E2%80%93Rivest_algorithm

Google Site

1•TACO_CODER•49s ago•0 comments

How the Smithsonian Lost America's Plot

https://www.wsj.com/opinion/how-the-smithsonian-lost-americas-plot-622709db
1•petethomas•55s ago•0 comments

NPM v12 Ships with Install Scripts Off by Default, Deprecating 2FA-Bypass Tokens

https://socket.dev/blog/npm-12
1•nreece•1m ago•0 comments

Independent Labs Crack Google's Cryptography Work

https://spectrum.ieee.org/google-quantum-cryptography-zero-knowledge
1•pseudolus•8m ago•0 comments

Meta to build its first $13B data centre in Canada

https://www.ctvnews.ca/business/article/meta-to-build-its-first-13-billion-data-centre-in-canada/
2•dj_rock•13m ago•0 comments

Rewriting Bun in Rust

https://simonwillison.net/2026/Jul/8/rewriting-bun-in-rust/
5•doppp•13m ago•1 comments

Google Discontinues Google Earth Pro for Desktop

https://pxlnv.com/linklog/google-earth-pro-sunset/
2•HotGarbage•15m ago•1 comments

Public LLM benchmarks are mostly garbage

https://grandpacad.com/en/blog/public-benchmarks-misled-me-opus-4-7
1•nateb2022•17m ago•0 comments

Show HN: OpenScreenShot: open-source full-page screenshot and annotation tool

https://openscreenshot.app
1•pghqdev•17m ago•0 comments

GitLab on FreeBSD

https://vermaden.wordpress.com/2026/07/09/gitlab-on-freebsd/
2•vermaden•17m ago•0 comments

Decentralized, encrypted (E2EE), censorship-resistant messenger

https://github.com/harpiabrasil/hydra
1•harpia•21m ago•0 comments

Show HN: I built 38-0, a Premier League draft game with a Poisson match engine

https://www.38-0.pro
2•rankinzheng•21m ago•0 comments

Abnormal Response to Anthropic Lawsuit

https://abnormal.ai/blog/abnormal-response-to-anthropic-lawsuit
2•tjek•25m ago•1 comments

StoryScope: Investigating Idiosyncrasies in AI Fiction

https://arxiv.org/abs/2604.03136
1•cratermoon•26m ago•0 comments

The AI factory: the rewiring of India's tech industry [video]

https://www.ft.com/video/5a5733ea-f8fa-488f-906d-418584b8bc36
1•petethomas•26m ago•0 comments

Space Lasers Show How Venezuela's Earthquakes Reshaped the Earth's Crust

https://www.wired.com/story/space-lasers-show-venezuela-earthquakes-reshaped-earth-crust/
1•bookmtn•26m ago•0 comments

Banks, card networks, fintechs partner on 'low-cost' stablecoin

https://www.bankingdive.com/news/stablecoin-open-standard-bridge-abrams-bny-stripe-mastercard-vis...
1•petethomas•27m ago•0 comments

How to Meet Word Count for School Assignments

https://fastwordcount.com/blog/how-to-meet-word-count-for-school-assignments/
2•rajkverma123•31m ago•0 comments

Bull Bitcoin challenges EU's DAC8 crypto surveillance rules in French court

https://thecoinheadlines.com/crypto/bull-bitcoin-challenges-eus-dac8-crypto-surveillance-rules-in...
2•Alan_Writer•34m ago•1 comments

Search engine that donates 51% profits to charity

https://1.org/
2•adityamwagh•36m ago•1 comments

Show HN: Cyrinx (36kbps Acoustic Transport)

https://cyrinx.org/
2•dweekly•36m ago•0 comments

Accessibility in Gnome

https://blogs.gnome.org/sophieh/2026/07/07/accessibility-in-gnome/
2•birdculture•38m ago•1 comments

Felons, Fraudsters Flog Offensive Cybersecurity Startup

https://krebsonsecurity.com/2026/07/felons-fraudsters-flog-offensive-cybersecurity-startup/
1•tortilla•38m ago•0 comments

Ghost – real-time AI that tells you what to say during job interviews

https://ghostinterview.dev
1•ABO_Studios•44m ago•0 comments

Gated Frontier Model = the Fall of Capitalism

https://www.elevair.org/letter
1•campbellhendee•45m ago•0 comments

1 down, 1 to go: Aptera clears first federal hurdle

https://aptera.us/epa-release/
1•TeaVMFan•48m ago•1 comments

Tinfoil Pigeons – see the aircraft overhead

https://tinfoilpigeons.com/
1•gnabgib•54m ago•0 comments

Compiler for LLMs, world models, and AGI

https://arxiv.org/abs/2607.04542
1•OsamaJaber•55m ago•0 comments

Korean law targeting fake news takes effect as journalist groups raise concerns

https://apnews.com/article/south-korea-fake-news-law-press-freedom-7dcc52be82c047f9645218bec2f93966
1•zuzululu•55m ago•0 comments

A software engineering interview question I like: computing the median

https://krisshamloo.com/blog/007
17•speckx•58m ago•7 comments