TransWikia.com
  1. All Categories
  2. Code Review

Code Review : Recent Questions and Answers (Page 18)

Find answers to your questions about Code Review or help others by answering their Code Review questions.

Python wrapper for official Hacker News API

Since Hacker News launched their official API, I started working on Python wrapper for it. API v0 is fairly simple, you send a GET request with hacker news story's ID...

Asked on 02/15/2021

1 answer

Implementing a Directed and Undirected Graph in Java

I am learning Graphs on my own and want to use a graph for a personal small project, so I decided to take a look here in Code Review for...

Asked on 02/14/2021 by msmilkshake

1 answer

Double-ended queue for Embedded Systems with different data size

I decided to modify my last code about a queue intended for embedded systems and make it accept different data types for multiple purposes. It is a double-ended queue,...

Asked on 02/14/2021 by MrBit

2 answer

c++ shell for linux

#include <cstring>#include <map>#include <iostream>#include <fstream>#include <sstream>#include <string>#include <sys/types.h>#include <sys/wait.h>#include <unistd.h>#include <vector>#include <filesystem>#include <errno.h>#include <bits/stdc++.h>std::string USERDIR = getenv("HOME");std::string ALIASFILE = USERDIR+"/shell/.alias";std::vector<std::string> Split(std::string input, char delim);void Execute(const char *command, char *arglist[]);std::map<std::string,...

Asked on 02/14/2021 by The Masked Rebel

2 answer

Excel blank row inserter

I wrote a program as an excercise, to check the openpyxl module, which inserts blank rows into an excel file. See the docstring in the code for more description. I...

Asked on 02/12/2021 by Sandro4912

2 answer

Private VBA Class Initializer called from Factory #2

About This is a follow-up of a previous question Private VBA Class Initializer called from Factory. I've decided to create a new question instead of answering my old question...

Asked on 02/08/2021 by Cristian Buse

0 answer

Perl - Splitting a string

I've decided to work on my Perl skills. I've written a small subroutine that splits a string based on an optional delimiter. I'd like any feedback on this program so...

Asked on 02/07/2021 by Linny

3 answer

Hackerrank's Queen's Attack II

https://www.hackerrank.com/challenges/queens-attack-2/problem A queen is standing on an nxn chessboard. The chessboard's rows are numbered from 1 to n, going from bottom to top; its columns are numbered...

Asked on 02/06/2021 by Bork

2 answer

C++17 thread pool

I've implemented a thread pool in C++17. This is not backwards compatible with C++14, due to the usage of std::invoke_result, which is new to C++17. The focus of this question...

Asked on 02/06/2021 by osuka_

2 answer

LeetCode - Weekly Contest 213 - Kth Smallest Instructions

Hi I participated in Leetcode weekly contest 213 and am facing issue with submission for below questionKth Smallest InstructionsBob is standing at cell (0, 0), and...

Asked on 02/04/2021 by Jasmeetsingh Bansal

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP