Top new questions this week:
|
I am self studying C++ from Robert Lafore's OOP in C++. I am solving the first exercise questions of chapter-3 loop and decisions. I've written three different codes using different approaches. I want ...
|
I want to develop a simple in-memory web request rate limiting module, I am allowed to have 50 requests from each unique cookie ID every 60 seconds.
I am wondering if the following code is an optimal ...
|
How can I improve this code
Please tell proper indentation and usage of camel-case.
#include <iostream>
using std::cout;
struct Node
{
int data;
Node* next;
};
Node* Create(int data){
...
|
I have a Java application that uses a few switch statements to get user information about students and classes. I have three MySQL tables:
students
student_id | student_name | hometown
...
|
So, I've created my first Chrome extension! What this does is it highlights every post on Reddit that comes from a source of dubious quality. It provides a few sources by default and allows the user ...
|
I'm looking for feedback on improving the structure of this code. Also, I could not find the command line executable for Chrome.
General feedback is also requested.
#
#
#
# Divider - configures ...
|
I've implemented a singly linked list in Java as a practice exercise and would appreciate a review.
LinkedList.java
public class LinkedList {
private Node head;
private int size;
...
|
Greatest hits from previous weeks:
|
There are many PHP PDO classes out there, agreed. However I find they do not allow for flexibility. So I created one that helps reduce development time as little as it may be but it does the job ...
|
Is it possible to create dynamic TR and TD elements in an HTML table? Something similar but better than this:
jQuery(document).ready(function() {
$('button[name="new-title"]').on('click', ...
|
Can you answer these?
|
The Scenario
You are given a matrix of size m x n (width x height) with m*n spots where there are a few obstacles. Spots with obstacles are marked as 1, and those without are marked as 0. You can ...
|
I have been using a static class to connect and retrieve information from a MySQL database and also reading about how static works in php. I'm still not sure if the code is bad or not and why (besides ...
|
I want to increase the efficiency and reduce the time complexity for the n-queen problem in n*n matrix chess. I am able to run only still (11*11) in normal time otherwise for the big number it is ...
|