CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 11:27:23 GMT
content-type: text/html; charset=utf-8
cf-ray: 962a594b09cc9ac4-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=2f8e31fc-87c0-4559-aa30-863851b51df0; expires=Tue, 21 Jul 2026 11:27:23 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-frame-options: SAMEORIGIN
x-request-guid: 26d22fd0-7b42-4f75-b1b7-88e872f40a69
x-worker-origin-response-time: 265000000
x-dns-prefetch-control: off
set-cookie: prov=2f8e31fc-87c0-4559-aa30-863851b51df0; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=sHsb3e9hw3J3iQwlqTtAVoXEahpLv0kS5ERd3lRfA.Y-1753097243-1.0.1.1-MUGiIVVjKF0smwziaWr8z7cB39II8X8PdSFNjncu9T6KhqWwr3To4iVLD_ZOq.AstC_83jPjXiNf81sdZekeWO2VhtzyFeEm7O7K1mjBv0U; path=/; expires=Mon, 21-Jul-25 11:57:23 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=NOOOS8T3ydLjLMS0ADbBQ_ieouG7hqCTnekLVuchP4A-1753097243649-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'interview-question' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsAll Questions
Tagged with interview-question or interview-questions
963 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
10
votes
3
answers
2k
views
C++ std::optional implementation for tech interview
I'm preparing for entry-level C++ developer interview and decided to implement some of std:: members. Here's my implementation of std::optional. I would be grateful ...
0
votes
3
answers
180
views
Java exceptions that show the message when converted to String
I’m working with custom exceptions in Java for stack operations. However, I’m unsure if the exception handling is being handled properly, especially in terms of how exceptions are thrown and caught. ...
4
votes
1
answer
100
views
File list and monitor
I recently was given a take home assignment for a job interview. The task was specified like so:
...
5
votes
2
answers
217
views
Tetris logic for interview
I would appreciate feedback on the code below which I created during an one-hour live interview session. In particular, while the interviewer pretty much said nothing during the interview, their ...
5
votes
2
answers
638
views
Thread-safe write-efficient register() method for a Load balancer
The code below was written for an interview question of designing a load balancer with only a register() method.
...
13
votes
8
answers
2k
views
Counting Occurrences of a Specific 3-Bit Pattern in a Byte Array
I was asked this problem in an interview, and this is the solution I came up with. I was told it's not the most efficient solution, but I can't think of any other solution. This is the problem.
...
4
votes
4
answers
206
views
Reversing string in PHP
I got this task to evaluate my knowledges in PHP.
I was asked to avoid using functions like strrev() or array_reverse().
...
Stacanovist
2
votes
2
answers
145
views
A thread-safe performant Money Transfer API in Java
This is a popular interview question. It is meant to be done within 30 minutes. The task is to implement a thread-safe performant Bank Account API that allows to transfer, deposit, withdraw and check ...
7
votes
2
answers
1k
views
A thread-safe performant URL Shortener in Java
This is a popular interview question. It is meant to be done within 45 minutes. The task is to implement a thread-safe performant in-memory URL Shortener.
My implementation is based on two maps that ...
5
votes
1
answer
535
views
Create an address self-complete bar
I recently received the following code challenge in connection with a job interview. After submitting, I was rejected. I want to know what (if anything) I could have done better here.
Task
Your task ...
5
votes
1
answer
261
views
String character changes (case insensitive) - Go
I saw this question on one of the socials, presented as an Apple interview question. I have had to paraphrase as it was not given in text format. (Credit: Instagram @greghogg5)
Given a string (S) ...
4
votes
1
answer
191
views
Last Stone Weight Problem in Haskell using list `insert`
Background
Saw this problem on TheJobOverflow which seems to be a LeetCode question.
It bothered me that the "challenge" of this problem was to recognize the need for a specific data-type (...
11
votes
4
answers
2k
views
Simple Key Value Database using C
I was recently doing an assignment for a job interview, which asked to create a simple key value database with 4 command line operations:
create key value: Adds a key value pair/updates an existing ...
3
votes
3
answers
246
views
Extracting records from a 2D List of strings
Recently I had an interview question about extracting records that matched certain criteria from a 2D List of strings. The premise was a CSV file was parsed into a ...
2
votes
1
answer
127
views
Simple Curry function
This is a interview practice question from BFE.dev.
Currying is a useful technique used in JavaScript applications.
Please implement a curry() function, which ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
java × 357
algorithm × 168
python × 150
c# × 142
strings × 102
javascript × 96
c++ × 95
performance × 75
object-oriented × 55
array × 50
complexity × 49
beginner × 46
linked-list × 44
python-3.x × 38
c × 37
unit-testing × 33
tree × 32
recursion × 24
matrix × 21
stack × 19
multithreading × 18
comparative-review × 18
graph × 18
sorting × 17
more related tags
Hot Network Questions
- book about a girl traveling through other dimensions
- Replacing an old racing bike transmission : same component or newer ones?
- Dystopian film where children are supposedly put into deep sleep until the earth is better but are in fact killed
- Parsing \def patterns with braces
- Ubuntu gives the message "You are in emergency mode."
- What are the earliest manuscripts containing Acts 21:25. And what do they say?
- Do water heaters create visible ripples in the surrounding water?
- Wrapping minipage around a tabularx cell produces overlapping text as of TeXLive 2025
- 16-bit comparisons setting both zero and carry flag on 8080/Z80
- Output shortest string containing all input strings
- Tikz - How to draw multiple arrows between nodes and position them perfectly without the usage of angles?
- What is the significance of the name "Toyohiro Kanedaichi"?
- Ceci n'est pas une affix-riddle...
- Flow velocity due to stack effect (chimney effect)
- How to force drives to be on a predicted device name
- What are the differences between a big jet engine and a small jet engine?
- Connection time of 50 minutes in Helsinki Airport
- Custom property Won't appear in final render
- Where exactly in Gauss's Werke did he prove Codazzi-Mainardi equations?
- Descale a coffee machine and kettle using a generic product
- Is it normal to require to reference all figures and tables in the text?
- Properties of the polar set
- TV episode where a disfigured human exchanges places with a normal-looking human from another planet
- Enlarged Graph vertices are covering up edge arrows