Useful tips for everyday
How do you get the next working day excluding weekends and holidays? How to get the next working day, excluding weekends and holidays Add +1…
How do you reverse a recursive number? Logic to find reverse of number using recursion Multiply reverse variable by 10. Find the last digit of…
Can a struct be inside a class? Yes you can. In c++, class and struct are kind of similar. We can define not only structure…
How do you check if a date is a valid date in Java? The current way is to use the calendar class. It has the…
Which parser is used in XML? DOM and SAX are the two standard APIs for processing XML documents. Most major XML parsers support them. There…
Which algorithm can handle missing values? KNN is a machine learning algorithm which works on the principle of distance measure. This algorithm can be used…
How to create an array with the same element repeated multiple times? In case you need to repeat an array several times: You can use…
How do you create a filter? Typical design requirements The filter should have a specific frequency response. The filter should have a specific phase shift…
What is the difference between the string functions find () and index ()? The index() method is similar to find() method for strings. The only…
How is SQL query used in Active Directory? This is an application that retrieves Users and contacts from Active Directory with SQL queries using a…