How can the following function be implemented in various languages? Calculate the (x,y) point on the circumfe
I am to show that log(n!) = Θ(n·log(n)). A hint was given that I should show the upper bound with nn and sh
Imagine two positive integers A and B. I want to combine these two into a single integer C. There can be no
I've been poring through .NET disassemblies and the GCC source code, but can't seem to find anywhere
What is the most efficient way given to raise an integer to the power of another integer in C? // 2^3 pow(2,3
Having a list of points, how do I find if they are in clockwise order? For example: point[0] = (5,0) point[1
Today I needed a simple algorithm for checking if a number is a power of 2. The algorithm needs to be: Simpl
I was trying various methods to implement a program that gives the digits of pi sequentially. I tried the Tayl
How do I calculate the distance between two points specified by latitude and longitude? For clarification, I&
I had an interesting job interview experience a while back. The question started really easy: Q1: We have a b
Is it possible to temporarily disable constraints in MySQL? I have two Django models, each with a foreign key
We are using nativescript with angular for our mobile app. I want to use the Google Play pre-launch report fea
Trying to run a Nativescript debug session and every time I enter chrome-devtools://devtools/bundled/inspect
What is the best way to represent and solve a maze given an image? Given an JPEG image (as seen above), wha
I am trying to POST data from my API but I can't pass the basic authentication. I try: $.ajax({ type: &
My question is, does anyone know how to set google maps up, to open up both my location and in a zoomed-in vie
I have used the refresh token several times in just a short period for testing purposes, but I wonder whether
How can I verify a Google authentication access token? I need to somehow query Google and ask: Is [given acce
I`m trying to set up firebase functions, but I get an error after running firebase init. Error: HTTP Error: 4