Software Engineer Intern- Engine-2027
Software engineeringPosted over 2 months agofrom SingleStore's own hiring page
- Work type
- On-siteSan Francisco Bay Area
- Experience
- Internship
- Pay
- Not listedUsually $86k a yearSoftware engineering, median at under 1 year, in the US (Payscale)
- Posted
- Over 2 months agoOpen 2 months
Skills it mentions
Nice to have
Add your skills to see which ones you have.
About the job
Position Overview
As a Software Engineer, Intern, you'll have the opportunity to spend 12 weeks working on one (or more) of the engineering teams at SingleStore. You will be at the forefront of real-time technology that’s revolutionizing how companies run their businesses every day. With a continuous release cycle, our engineers are accustomed to moving quickly in a rapid production environment. To do this successfully, we work collaboratively and creatively across teams to maximize our opportunity for impact. We also believe it’s important to celebrate our wins together, whether it be at a local spot or getting out of the city for some exploring.
As a Software Engineer, Intern, you will be empowered to own your projects end-to-end and be an active contributor throughout the product life cycle. To expedite your growth path, you will partner with engineers who deeply care about your success and will lend their expertise to your professional development. Our engineers are not just technical partners/mentors, but are also business partners who are exposed to all areas of the business, working with teams such as product, marketing, and sales.
Role and Responsibilities
Our Software Engineers work on small, collaborative teams to help drive our company forward. Our interns are responsible for projects that are deployed continuously into production over the course of their internship. Your work will include everything from writing new features to testing software and you’ll gain a significant understanding of both the product and the business.
Required Skills and Experience
- Enrolled in a B.S. Degree in Computer Science, Computer Engineering, Electrical Engineering, or related discipline
- Deep understanding of C.S. fundamentalsStrong programming skills with C++ or C
- Passionate about building highly reliable software
- Firm grasp of algorithms and data structures
Preferred skill and experience
Understanding of core C.S. fundamentals, in particular operating systems, distributed systems, concurrency, multithreading, and server architectures.
SingleStore delivers the cloud-native database with the speed and scale to power the world’s data-intensive applications. With a distributed SQL database that introduces simplicity to your data architecture by unifying transactions and analytics, SingleStore empowers digital leaders to deliver exceptional, real-time data experiences to their customers. SingleStore is venture-backed and headquartered in San Francisco with offices in Seattle, Lisbon and Bangalore.
Consistent with our commitment to diversity & inclusion, we value individuals with the ability to work on diverse teams and with a diverse range of people.
Sponsorship is available for this position and other select roles
Interested?Software Engineer Intern- Engine-2027 at SingleStore
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on C++ and SQL
Interview questions for this job
For the skills the ad mentions: C++ and SQL.
Why is reading lines from stdin much slower in C++ than Python?C++
tl;dr: Because of different default settings in C++ requiring more system calls.
By default,
cinis synchronized with stdio, which causes it to avoid any input buffering. If you add this to the top of your main, you should see much better performance:std::ios_base::sync_with_stdio(false);Normally, when an input stream is buffered, instead of reading one character at a time, the stream will be read in larger chunks. This reduces the number of system calls, which are typically relatively expensive. However, since the
FILE*basedstdioandiostreamsoften have separate implementations and therefore separate buffers, this could lead to a problem if both were used together. For example:int myvalue1; cin >> myvalue1; int myvalue2; scanf("%d",&myvalue2);If more input was read by
cinthan it actually needed, then the second integer value wouldn't be available for thescanffunction, which has its own independent buffer. This would lead to unexpected results.To avoid this, by default, streams are synchronized with
stdio. One common way to achieve this is to havecinread each character one at a time as needed usingstdiofunctions. Unfortunately, this introduces a lot of overhead. For small amounts of input, this isn't a big problem, but when you are reading millions of lines, the performance penalty is significant.Fortunately, the library designers decided that you should also be able to disable this feature to get improved performance if you knew what you were doing, so they provided the
sync_with_stdiomethod. From this link (emphasis added):If the synchronization is turned off, the C++ standard streams are allowed to buffer their I/O independently, which may be considerably faster in some cases.
From Stack Overflow: asked by JJC, answered by Vaughn Cato (CC BY-SA 4.0)
Which are valid SQL keywords?SQL
SELECT,FROM,WHERE,GROUP BY,HAVING,ORDER BY,JOIN,INSERT,UPDATE,DELETE,CREATE,ALTER,DROP,INDEX,UNION,LIMIT,DISTINCT,AS,AND,OR,NOT,IN,BETWEEN,LIKE,IS NULL,EXISTS,CASE,WHEN,THEN,ELSE,END.From Cracking the SQL Interview (MIT)
What is The Rule of Three?C++
Introduction
C++ treats variables of user-defined types with value semantics. This means that objects are implicitly copied in various contexts, and we should understand what "copying an object" actually means.
Let us consider a simple example:
class person { std::string name; int age; public: person(const std::string& name, int age) : name(name), age(age) { } }; int main() { person a("Bjarne Stroustrup", 60); person b(a); // What happens here? b = a; // And here? }(If you are puzzled by the
name(name), age(age)part, this is called a member initializer list.)Special member functions
What does it mean to copy a
personobject? Themainfunction shows two distinct copying scenarios. The initializationperson b(a);is performed by the copy constructor. Its job is to construct a fresh object based on the state of an existing object. The assignmentb = ais performed by the copy assignment operator. Its job is generally a little more complicated because the target object is already in some valid state that needs to be dealt with.Since we declared neither the copy constructor nor the assignment operator (nor the destructor) ourselves, these are implicitly defined for us. Quote from the standard:
The [...] copy constructor and copy assignment operator, [...] and destructor are special member functions. [ Note: The implementation will implicitly declare these member functions for some class types when the program does not explicitly declare them. The implementation will implicitly define them if they are used. [...] end note ] [n3126.pdf section 12 §1]
By default, copying an object means copying its members:
The implicitly-defined copy constructor for a non-union class X performs a memberwise copy of its subobjects. [n3126.pdf section 12.8 §16]
The implicitly-defined copy assignment operator for a non-union class X performs memberwise copy assignment of its subobjects. [n3126.pdf section 12.8 §30]
Implicit definitions
The implicitly-defined special member functions for
personlook like this:// 1. copy constructor person(const person& that) : name(that.name), age(that.age) { } // 2. copy assignment operator person& operator=(const person& that) { name = that.name; age = that.age; return *this; } // 3. destructor ~person() { }Memberwise copying is exactly what we want in this case:
nameandageare copied, so we get a self-contained, independentpersonobject. The implicitly-defined destructor is always empty. This is also fine in this case since we did not acquire any resources in the constructor. The members' destructors are implicitly called after thepersondestructor is finished:After executing the body of the destructor and destroying any automatic objects allocated within the body, a destructor for class X calls the destructors for X's direct [...] members [n3126.pdf 12.4 §6]
Managing resources
So when should we declare those special member functions explicitly? When our class manages a resource, that is, when an object of the class is responsible for that resource. That usually means the resource is acquired in the constructor (or passed into the constructor) and released in the destructor.
Let us go back in time to pre-standard C++. There was no such thing as
std::string, and programmers were in love with pointers. Thepersonclass might have looked like this:Read the rest at the sourceFrom Stack Overflow: asked by fredoverflow, answered by fredoverflow (CC BY-SA 4.0)
What are the possible values for a BOOLEAN field in MySQL?SQL
MySQL doesn't have a native
BOOLEANtype. It usesTINYINT(1)where0= false,1= true, and any non-zero value is treated as true in conditions.CREATE TABLE users (is_active TINYINT(1) DEFAULT 1);PostgreSQL, however, has a true
BOOLEANtype acceptingTRUE,FALSE, andNULL.From Cracking the SQL Interview (MIT)
What are the differences between a pointer variable and a reference variable?C++
A pointer can be re-assigned:
int x = 5; int y = 6; int *p; p = &x; p = &y; *p = 10; assert(x == 5); assert(y == 10);A reference cannot be re-bound, and must be bound at initialization:
int x = 5; int y = 6; int &q; // error int &r = x;A pointer variable has its own identity: a distinct, visible memory address that can be taken with the unary
&operator and a certain amount of space that can be measured with thesizeofoperator. Using those operators on a reference returns a value corresponding to whatever the reference is bound to; the reference’s own address and size are invisible. Since the reference assumes the identity of the original variable in this way, it is convenient to think of a reference as another name for the same variable.int x = 0; int &r = x; int *p = &x; int *p2 = &r; assert(p == p2); // &x == &r assert(&p != &p2);It is possible to create a pointer to a pointer, but not a pointer to a reference.
int **pp; // OK, pointer to pointer int &*pr; // ill-formed, pointer to referenceIt is possible to create an array of pointers, but not an array of references.
int *ap[]; // OK, array of pointers int &ar[]; // ill-formed, array of referencesYou can have arbitrarily nested pointers to pointers offering extra levels of indirection. References only offer one level of indirection because references to references collapse.
int x = 0; int y = 0; int *p = &x; int *q = &y; int **pp = &p; **pp = 2; pp = &q; // *pp is now q **pp = 4; assert(y == 4); assert(x == 2);A pointer can be assigned
nullptr, whereas a reference must be bound to an existing object. If you try hard enough, you can bind a reference tonullptr, but this is undefined and will not behave consistently./* the code below is undefined; your compiler may optimise it * differently, emit warnings, or outright refuse to compile it */ int &r = *static_cast<int *>(nullptr); // prints "null" under GCC 10 std::cout << (&r != nullptr ? "not null" : "null") << std::endl; bool f(int &r) { return &r != nullptr; } // prints "not null" under GCC 10 std::cout << (f(*static_cast<int *>(nullptr)) ? "not null" : "null") << std::endl;You can, however, have a reference to a pointer whose value is
nullptr.Pointers are ContiguousIterators (of an array). You can use
++to go to the next item that a pointer is pointing to, and+ 4to go to the 5th element.A pointer needs to be dereferenced with
*to access the object it points to, whereas a reference can be used directly. A pointer to a class/struct uses->to access its members whereas a reference uses a..Const references and rvalue references can be bound to temporaries (see temporary materialization). Pointers cannot (not without some indirection):
const int &x = int(12); // legal C++ int *y = &int(12); // illegal to take the address of a temporary.This makes
const &more convenient to use in argument lists and so forth.
From Stack Overflow: asked by prakash, answered by Brian R. Bondy (CC BY-SA 4.0)
What do you do in your spare time?Behavioural
Employers will want to get to know you and may ask things like:
- what do you do in your spare time?
- what are your hobbies and interests?
Show what kind of personal qualities, interests and skills you have. For example, you could talk about:
- cooking - to show you're organised and can follow instructions
- travel - to show you're adventurous and flexible
- team sports - to show you're a team player with good communication
- music - to show you're creative
If the job requires certain skills, you should demonstrate these in your examples.
ExampleIf it's a graphic designer role, you could talk about taking a desktop publishing course.
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Member of Technical StaffClera, San Francisco Bay Area, on-siteToday
- Software Engineer, Safety Data FlywheelOpenAI, Remote, San Francisco Bay AreaYesterday
- Senior Staff Software EngineerFivetran, San Francisco Bay Area, hybridYesterday
- Senior Enterprise Applications EngineerMixpanel, San Francisco Bay Area, hybridYesterday
More like this: Software engineer jobs in San Francisco Bay Area (707), Jobs in San Francisco Bay Area (9,193) and Software engineer jobs in the USA (1,765)



