Sign in

Given a sorted positive integer array nums and an integer n, add/patch elements to the array such that any number in range [1, n] inclusive can be formed by the sum of some elements in the array. Return the minimum number of patches required.

This is an interesting greedy problem…


Bucket sort is constructed of two main parts, the hash and sort. The hash is the way that the information in the sorted array can be accessed in O(1) time. This is important because it allows the data to be easily accessed and changed quickly. …


We are looking for someone who knows how to use NoSQL databases. But what does that mean. Does it just mean that SQL isn't necessary? What it means is that the storage and retrieval of data that is modeled in means other than the tabular relations used in relational databases.


Generative Pre-Trained Transformer 3 (GPT-3) is the third in a series of AI language models released by the OpenAI lab in San Fransisco. GPT-3 was made available earlier this year and represents a big step forward in AI natural language processing. …


This is just one problem but it was one that I got from an interview and would love to talk about where I went wrong and how to solve it. Question:

There is a one-dimensional garden on the x-axis. The garden starts at the point 0 and ends at the…

There are three different types of FTP server connections. The different types are:

  • FTP
  • FTPS
  • FTPES

FTP: This is a plain unencrypted connection that by default connects over port 21. Most browsers support this type of connection.

FTPS: This type of connection works just like HTTPS. The connection is secured…


The process of picking up and starting again is challenging for everyone. No one enjoys the process of trying to break into a new field. The effort of reaching out and asking people to spare some of their time so that you can try and wow them is something neither…


Backtracing is an algorithmic-technique for solving problems incrementally by building the solution incrementally. The system is implemented by removing solutions that don't satisfy the constraints at any point. …


While it is nice to be able to look at what went wrong easily, the organization of it is important. There are some built-in tools that allowed us to more easily organize where information is placed. These tools are loggers, handlers, formatters, and configuration logging.

Loggers

Logger objects are used to…


Logging what is the point. It doesn't move the codebase forward and doesn't make introduce new functionality to your users. So really why would I need it?

While yes it does not do any of these things it can help speed up the development process, help new contributors acclimate to…

Aidanmc

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store