Useful tips for everyday
How is stack implemented by Java? A stack is a linear data structure that follows the LIFO (Last–In, First–Out) principle. push inserts an item at…
Can SQL injection be detected? Various commercial and free automated tools, such as SQL Inject-Me, are able to detect the presence of SQL injection vulnerabilities…
What is the purpose of a script batch file? A batch file is a script file in DOS, OS/2 and Microsoft Windows. It consists of…
How do I authenticate and authorize? In simple terms, authentication is the process of verifying who a user is, while authorization is the process of…
How do you flatten a linked list? (ii) Pointer to a linked list where this node is headed (we call it the ‘down’ pointer in…
What does it mean to cut the pages? The pages are not printed, but are dyed as whole sheets and then folded down. Technically they…
How do I add something to a SQL database? In Object Explorer, connect to an instance of the SQL Server Database Engine and then expand…
What is lexicographically minimum permutation? Find the lexicographically permutation that can be obtained by replacing minimum number of elements in array such that every element…
What is wrapper class in primitive type? So a primitive wrapper class is a wrapper class that encapsulates, hides or wraps data types from the…
Can we get IP address from HTTP request? HTTP requests often pass through one or more proxy servers before they reach the endpoint web server,…