## BUPT2014 Counselling Afternoon Computer Test of Java Questions

Topics are collected in your forefathers, invaded or deleted.
Topic 1
Median
Title Description
Given a non-descending column of length N, find the median of the column.
Median: When the item number N of a number column is odd, the variable value at the middle of f is the median. When N is even, th ...

Posted on *Fri, 13 Mar 2020 18:17:00 -0700* by **rkeppert**

## Play U3D scene conversion + level selection together

Scene Conversion
In games we often have the use of scene transformations, such as teleportation arrays
So how do you convert scenes in U3D?
Suppose we now have two scenarios:
So how do you switch between these two scenarios?
First, open the following interface
Then drag our scene into the open inter ...

Posted on *Fri, 13 Mar 2020 17:54:49 -0700* by **jaronblake**

## opencv basic threshold to achieve image threshold output · basic explanation (including gif effect picture)

Article directory
Explanation purpose display
Threshold function: cv.threshold application image threshold operation
Introduction to function parameters
Basic introduction to threshold type
Code instance
Gray image example
Traverse (grayscale) all cases - all threshold type effects display (and co ...

Posted on *Fri, 13 Mar 2020 09:18:45 -0700* by **silviuchingaru**

## FutureTask Source Complete Interpretation

1 Introduction
Last blog post " Introduction to Asynchronous Task Service "Brief introduction and analysis of FutureTask, here is another in-depth analysis of FutureTask (based on JDK1.8).
FutureTask implements both Future and Runnable interfaces, so it can be handed over to Executor to perform this task, or run methods can be execute ...

Posted on *Thu, 12 Mar 2020 11:45:06 -0700* by **jj33**

## Data analysis case -- data analysis of 2012 US presidential campaign sponsorship

An analysis of the data of US presidential campaign sponsorship
This article is from Alibaba cloud Tianchi laboratory, Original address of caseFor reference, Xiao Wang, a self-taught data analysis student, wrote and analyzed the data by himself. The codes and results are as follows
1. Import related p ...

Posted on *Thu, 12 Mar 2020 05:46:17 -0700* by **sam2004**

## Week 1: Enumeration

Enumeration: a solution strategy based on trying answers one by one
Example 1: perfect cube
Description:
A perfect cubic equation is defined as (a^3) = (b^3) +(c^3) +(d^3). For example, 12, 6, 8, 10. Write a program to find all four tuples (a,b,c,d) for any given positive integer n (n < = 100), so th ...

Posted on *Thu, 12 Mar 2020 04:39:46 -0700* by **susannah**

## C programming fourth edition after class exercises - Tan Haoqiang

#include<stdio.h>
#include <string.h>
#include <math.h>
/*2.4.1 There are two bottles A and B. put vinegar and soy sauce respectively, and ask to exchange them*/
void swapaandb(int *a,int *b){
int temp=*a;
*a=*b;
*b=temp;
}
/*Input 10 numbers at a time, and output the largest number ...

Posted on *Thu, 12 Mar 2020 03:16:16 -0700* by **tryingtolearn**

## 57. More about the code in the interface

In Java 8, interfaces allow static methods, private methods, and abstract methods with default implementations
Look at routines: there are methods in the interface, which doesn't mean Java has multiple inheritance
Look at routines: understand this self reference in interface methods
Look at routines: a ...

Posted on *Wed, 11 Mar 2020 21:34:41 -0700* by **gudfry**

## Source code analysis under java.util.HashMap jdk1.8

Based on jdk1.8, this paper analyzes the source code, analyzes the implementation of the code and the possible misuse
HashMap: hash hash hash table. It exists in the form of key value key value pairs. It is unordered. The time dimension and space dimension of the search are both O(1). It enables us ...

Posted on *Wed, 11 Mar 2020 00:41:47 -0700* by **etherboo**

## Buckle 227-227. Basic calculator II

This problem is similar to the general computational solution, which can be solved by stack, and the particularity of the problem itself can be used for optimization.
Original question
Implement a basic calculator to evaluate the value of a simple string expression.
String expressions contain only fo ...

Posted on *Tue, 10 Mar 2020 20:38:36 -0700* by **FRSH**